Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.00126/0.00126, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001345/0.001345, allocations: 187 kB / 17.34 MB, free: 5.762 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8194, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00208/0.8215, allocations: 1.207 MB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.8223, allocations: 386.3 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.8223, allocations: 0.75 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.8224, allocations: 3.938 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.8224, allocations: 0.6094 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.8229, allocations: 90.06 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.823, allocations: 26.62 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.823, allocations: 5.656 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.8231, allocations: 9.422 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.8231, allocations: 4.844 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.8231, allocations: 1 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.8233, allocations: 92.75 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.8233, allocations: 7.281 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.8234, allocations: 6.906 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.8236, allocations: 81.94 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8236, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8236, allocations: 1.062 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8236, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 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.0003867/0.824, allocations: 374.8 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.824, allocations: 10.7 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.8241, allocations: 2 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.784e-05/0.8241, allocations: 166.6 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.8242, allocations: 5.406 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.8242, allocations: 3.422 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.8243, allocations: 38.98 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.8243, allocations: 1.406 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8243, allocations: 12.45 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.8243, allocations: 1.062 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.8243, allocations: 3.688 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.8245, allocations: 154.4 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.8245, allocations: 27.34 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.8246, allocations: 12.16 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.8246, allocations: 0 / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.8247, allocations: 66.61 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.355e-06/0.8247, allocations: 3.984 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000185/0.8249, allocations: 71.62 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.8249, allocations: 51.97 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/0.825, allocations: 102.7 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.825, allocations: 26.45 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.625e-05/0.825, allocations: 85.58 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.8251, allocations: 11.14 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.8251, allocations: 20.39 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.8251, allocations: 313.1 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.8252, allocations: 6.109 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.8252, allocations: 40.73 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.8253, allocations: 50.89 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8253, allocations: 0 / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.106e-05/0.8254, allocations: 65.52 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8254, allocations: 12.78 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8254, allocations: 0 / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8254, allocations: 2.406 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.8255, allocations: 10.98 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8255, allocations: 2.578 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.8255, allocations: 5.938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.8255, allocations: 2.156 kB / 1.092 GB, free: 2.555 MB / 0.8575 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 5.095e-05/0.8256, allocations: 118.1 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.8256, allocations: 4.781 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.8256, allocations: 5.219 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8256, allocations: 0.5156 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8256, allocations: 5.062 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8257, allocations: 0.5625 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.276e-05/0.8257, allocations: 158.8 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8257, allocations: 1.125 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.8258, allocations: 2.484 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8258, allocations: 3.938 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.8258, allocations: 1.906 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8258, allocations: 0.5156 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8258, allocations: 1.156 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.8259, allocations: 96.56 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.8259, allocations: 82.7 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.8259, allocations: 8.672 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.826, allocations: 1.188 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.826, allocations: 6.672 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.826, allocations: 1.922 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.826, allocations: 78.38 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.826, allocations: 0 / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000254/0.8263, allocations: 30.39 kB / 1.093 GB, free: 1.941 MB / 0.8575 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.0003008/0.8266, allocations: 156.7 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.8267, allocations: 28.81 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8267, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.8268, allocations: 14.17 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8269, allocations: 11.81 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.8271, allocations: 124.8 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.8272, allocations: 0.6758 MB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.8273, allocations: 9.5 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8273, allocations: 0 / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of Templates: time 0.002944/0.8302, allocations: 1.159 MB / 1.095 GB, free: 0.8555 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches