Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.001115/0.001115, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008808/0.008808, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 9.219 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2597, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001067/0.2608, allocations: 0.9548 MB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.2616, allocations: 450.7 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.2616, allocations: 3.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.2616, allocations: 4 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.2616, allocations: 4 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.262, allocations: 87.78 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.2621, allocations: 23.86 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.2621, allocations: 7.984 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.2621, allocations: 8 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.648e-05/0.2622, allocations: 11.92 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.2622, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.2624, allocations: 107.8 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2624, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.2624, allocations: 45.62 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2626, allocations: 95.8 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2626, allocations: 4 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2626, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.2626, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003736/0.263, allocations: 373.5 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.263, allocations: 15.97 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.2631, allocations: 42.64 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2631, allocations: 0.9375 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.2632, allocations: 168.4 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2633, allocations: 384 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2633, allocations: 4.375 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.2634, allocations: 50.19 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2634, allocations: 3.938 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2634, allocations: 3.984 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.2634, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.2635, allocations: 12 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2637, allocations: 252.9 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.2638, allocations: 42.38 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.2639, allocations: 16.98 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.2639, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.264, allocations: 67.39 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.264, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001887/0.2642, allocations: 77.67 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2642, allocations: 59.34 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.2643, allocations: 101.8 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2643, allocations: 29.7 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.2644, allocations: 84.14 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.2644, allocations: 11.75 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.2644, allocations: 17.72 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.2645, allocations: 326.8 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.2645, allocations: 4 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.2646, allocations: 44.28 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.2646, allocations: 60.23 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2647, allocations: 7.938 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001051/0.2648, allocations: 81.45 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2648, allocations: 4 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2648, allocations: 0 / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.2648, allocations: 7.938 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.2649, allocations: 12.08 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2649, allocations: 7.938 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.2649, allocations: 4.094 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2649, allocations: 11.98 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 6.467e-05/0.265, allocations: 113.8 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.265, allocations: 7.906 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.265, allocations: 3.969 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.265, allocations: 7.984 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2651, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2651, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2653, allocations: 314.9 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2653, allocations: 4.188 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.2653, allocations: 8.062 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2654, allocations: 3.938 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2654, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2654, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2654, allocations: 4 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.2655, allocations: 163.5 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.2656, allocations: 85.02 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2656, allocations: 4 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.2656, allocations: 0 / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.2657, allocations: 11.98 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2657, allocations: 0 / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.2657, allocations: 83.22 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2657, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002757/0.266, allocations: 43.92 kB / 1.063 GB, free: 15.95 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 (6): * Single equations (assignments): 4 * 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.0005877/0.2666, allocations: 0.778 MB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.2667, allocations: 39.92 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2667, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.2668, allocations: 24.11 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.267, allocations: 8 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.2679, allocations: 1.312 MB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2681, allocations: 0.6811 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.2682, allocations: 7.906 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.2682, allocations: 11.44 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2682, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.2792, allocations: 1.853 MB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2794, allocations: 246.5 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.042, allocations: 2.391 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,time,x1,x2,y