Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 195.8 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 66.42 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.264, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002188/0.2662, allocations: 1.223 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.267, allocations: 436.2 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.267, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.2671, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.2671, allocations: 3.938 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.2676, allocations: 107.6 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.2677, allocations: 15.98 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.2677, allocations: 7.938 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.2678, allocations: 11.92 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.2678, allocations: 11.94 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2678, allocations: 4 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.268, allocations: 95.89 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.268, allocations: 11.98 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.2681, allocations: 7.922 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2683, allocations: 95.81 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2683, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.077e-06/0.2683, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2683, allocations: 3.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004338/0.2687, allocations: 381.5 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2688, allocations: 12.03 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.2689, allocations: 34.66 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2689, allocations: 4.922 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.269, allocations: 168.3 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.269, allocations: 384 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.269, allocations: 4.375 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.2691, allocations: 38.25 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2692, allocations: 3.938 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2692, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2692, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.2692, allocations: 11.92 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.2695, allocations: 245 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.2696, allocations: 34.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.2697, allocations: 16.86 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.2697, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.2698, allocations: 71.33 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.2698, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001999/0.27, allocations: 69.67 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2701, allocations: 59.39 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.2702, allocations: 93.86 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2702, allocations: 33.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2702, allocations: 84.14 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2702, allocations: 19.73 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.2703, allocations: 21.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.2704, allocations: 310.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.2704, allocations: 15.98 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.2704, allocations: 39.31 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.2705, allocations: 51.36 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2705, allocations: 3.938 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.2706, allocations: 69.62 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2707, allocations: 7.984 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2707, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2707, allocations: 4 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.2707, allocations: 12.06 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2708, allocations: 4.141 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.2708, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2708, allocations: 4 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.2709, allocations: 123.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.2709, allocations: 7.891 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.2709, allocations: 7.562 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2709, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2709, allocations: 3.938 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.271, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2712, allocations: 302.5 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2712, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.2712, allocations: 3.938 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2712, allocations: 4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2713, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2713, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2713, allocations: 320 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.2714, allocations: 171.5 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.2715, allocations: 81.02 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2715, allocations: 4 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.2715, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.2716, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2716, allocations: 8.266 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.2716, allocations: 83.27 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2716, allocations: 0 / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002824/0.2719, allocations: 31.94 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000632/0.2726, allocations: 0.7741 MB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.2727, allocations: 35.92 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2727, allocations: 8.062 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.2727, allocations: 12 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.273, allocations: 7.938 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.274, allocations: 1.265 MB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2742, allocations: 0.6768 MB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.2742, allocations: 4 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.2743, allocations: 15.42 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2743, allocations: 3.938 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.2918, allocations: 1.991 MB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.66, allocations: 10.42 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y