Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 109.9 kB / 16.27 MB, free: 6.414 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.001675/0.001675, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 72.56 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7784, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002169/0.7806, allocations: 1.205 MB / 1.084 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000705/0.7813, allocations: 381.5 kB / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.7813, allocations: 0 / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.7813, allocations: 0 / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.7814, allocations: 3.938 kB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.7819, allocations: 90.02 kB / 1.085 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.7819, allocations: 18.16 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.782, allocations: 2.469 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.782, allocations: 9.172 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.768e-05/0.782, allocations: 8 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.7821, allocations: 5.531 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.7823, allocations: 89.28 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.7823, allocations: 6.375 kB / 1.085 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.7823, allocations: 12.23 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.7825, allocations: 77.03 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7825, allocations: 1.188 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7825, allocations: 0 / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7825, allocations: 0 / 1.085 GB, free: 444 kB / 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.0003927/0.7829, allocations: 375.6 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.783, allocations: 16.75 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.783, allocations: 3.641 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.7832, allocations: 167.5 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.7832, allocations: 5.547 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.7832, allocations: 3.828 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.7833, allocations: 35.67 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7833, allocations: 192 / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7834, allocations: 8.688 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7834, allocations: 1.938 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.7834, allocations: 8.406 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.7836, allocations: 156.6 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.7837, allocations: 27.84 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.7837, allocations: 11.62 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.7838, allocations: 0.875 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.7839, allocations: 58 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.7839, allocations: 0 / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.7841, allocations: 70.95 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.7842, allocations: 53.58 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.7843, allocations: 98.34 kB / 1.086 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7843, allocations: 27.48 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.7844, allocations: 85.25 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.7844, allocations: 13.39 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.7845, allocations: 26.36 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7846, allocations: 312.2 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.7846, allocations: 5.391 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.7847, allocations: 37.08 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.144e-05/0.7848, allocations: 50.81 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7848, allocations: 0 / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001212/0.7849, allocations: 73.59 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7849, allocations: 9.266 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7849, allocations: 1.094 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.785, allocations: 5.312 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.785, allocations: 7.562 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.785, allocations: 2.078 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.7851, allocations: 6.688 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7851, allocations: 3.219 kB / 1.086 GB, free: 14.67 MB / 0.8419 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.855e-05/0.7852, allocations: 117.1 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.7852, allocations: 5.516 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7852, allocations: 9.719 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7852, allocations: 4.828 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7853, allocations: 0 / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7853, allocations: 1.406 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7854, allocations: 156.6 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7854, allocations: 4 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.7854, allocations: 3.078 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.7854, allocations: 3.938 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.7855, allocations: 2.125 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7855, allocations: 0.8438 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7855, allocations: 1.375 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.7856, allocations: 83.89 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.7857, allocations: 78.97 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7857, allocations: 8.547 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.7857, allocations: 1.922 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.7858, allocations: 5.875 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.7858, allocations: 6.125 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.7858, allocations: 77.45 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7858, allocations: 0 / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000269/0.7861, allocations: 30.92 kB / 1.087 GB, free: 14.06 MB / 0.8419 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003785/0.7865, allocations: 146.4 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.7866, allocations: 33.25 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7866, allocations: 1 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.7867, allocations: 12.59 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.7868, allocations: 6.891 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.7871, allocations: 140 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7874, allocations: 0.677 MB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.7875, allocations: 12.81 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.7875, allocations: 0 / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.003274/0.7907, allocations: 1.146 MB / 1.089 GB, free: 12.97 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches