Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_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.008657/0.008657, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001847/0.001847, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 56.31 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8604, allocations: 151.6 MB / 1.166 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002352/0.8628, allocations: 1.227 MB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.8637, allocations: 456.9 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.8638, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.8638, allocations: 3.938 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.8639, allocations: 0 / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.8645, allocations: 119.6 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.8646, allocations: 23.97 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.8646, allocations: 4 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.8646, allocations: 7.938 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.8647, allocations: 15.92 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.8647, allocations: 0 / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.8649, allocations: 107.8 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.865, allocations: 4 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.865, allocations: 19.91 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.8652, allocations: 91.81 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8652, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8652, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.8652, allocations: 4 kB / 1.168 GB, free: 1.84 MB / 0.8887 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.0005224/0.8658, allocations: 385.8 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8658, allocations: 8.922 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.8659, allocations: 38.75 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.8659, allocations: 4.875 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8661, allocations: 176.2 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.8661, allocations: 4.375 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.8661, allocations: 4.375 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.8662, allocations: 58.12 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8662, allocations: 3.938 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.8663, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.8663, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.8663, allocations: 11.98 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.8666, allocations: 248.9 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.8667, allocations: 30.52 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.8668, allocations: 28.97 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.8668, allocations: 0 / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.867, allocations: 59.39 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.867, allocations: 0 / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0002131/0.8672, allocations: 81.53 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.8673, allocations: 55.39 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.8673, allocations: 105.9 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.8674, allocations: 25.7 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.8674, allocations: 84.14 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.8674, allocations: 19.8 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.8675, allocations: 17.72 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8676, allocations: 318.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.8676, allocations: 8 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.8677, allocations: 52.22 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.8677, allocations: 56.22 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8677, allocations: 3.938 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001092/0.8679, allocations: 81.67 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8679, allocations: 10.5 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8679, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8679, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.868, allocations: 19.92 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.868, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.868, allocations: 7.844 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.8681, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 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 9.981e-05/0.8682, allocations: 117.8 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.8682, allocations: 4.719 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.8682, allocations: 11.97 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8682, allocations: 3.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8682, allocations: 3.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8682, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.8685, allocations: 310.5 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8685, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.8686, allocations: 11.98 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8686, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.8686, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8686, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8686, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.8688, allocations: 175.3 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.8688, allocations: 77.11 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8688, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.8689, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.8689, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.8689, allocations: 7.984 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.869, allocations: 87.28 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.869, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002985/0.8693, allocations: 43.92 kB / 1.171 GB, free: 14.64 MB / 0.9044 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.0007205/0.87, allocations: 0.7872 MB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.8702, allocations: 43.86 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8702, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.8702, allocations: 19.98 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.8704, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.8716, allocations: 1.311 MB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.8719, allocations: 0.6768 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.8719, allocations: 4 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.872, allocations: 11.44 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.872, allocations: 4 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.8902, allocations: 2.096 MB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.765, allocations: 14.06 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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