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 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: 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.0015/0.0015, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001719/0.001719, allocations: 183.9 kB / 17.35 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 469.4 MB / 0.7428 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.83 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7143, allocations: 159.1 MB / 1.221 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002009/0.7163, allocations: 1.214 MB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.7171, allocations: 374.8 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.7171, allocations: 0 / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.7171, allocations: 0 / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/0.7172, allocations: 7.875 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.7176, allocations: 91.72 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.7177, allocations: 15.92 kB / 1.223 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.7177, allocations: 0 / 1.223 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.7178, allocations: 15.97 kB / 1.223 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.7178, allocations: 7.938 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.7178, allocations: 4 kB / 1.223 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.718, allocations: 91.84 kB / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.718, allocations: 7.984 kB / 1.223 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.7181, allocations: 7.938 kB / 1.223 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.7182, allocations: 87.88 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7182, allocations: 0 / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7182, allocations: 0 / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7183, allocations: 0 / 1.223 GB, free: 492 kB / 0.9356 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.0004557/0.7187, allocations: 373.2 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7188, allocations: 12.03 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.7188, allocations: 4.844 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7189, allocations: 164.2 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.7189, allocations: 4.375 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.719, allocations: 384 / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.7191, allocations: 42.23 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.7191, allocations: 8.125 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.7191, allocations: 3.938 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7191, allocations: 3.984 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.7191, allocations: 8 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.7193, allocations: 149.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.917e-05/0.7193, allocations: 30.61 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.7194, allocations: 12.86 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.7194, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.7195, allocations: 63.42 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.7195, allocations: 0 / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.7197, allocations: 65.62 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7198, allocations: 51.41 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.7198, allocations: 101.8 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7198, allocations: 25.7 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.7199, allocations: 80.14 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7199, allocations: 11.81 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.7199, allocations: 29.83 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.72, allocations: 310.8 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.7201, allocations: 8 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.7201, allocations: 39.34 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.7202, allocations: 51.31 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7202, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.7203, allocations: 69.56 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7203, allocations: 7.984 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7203, allocations: 7.938 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7203, allocations: 4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7204, allocations: 8 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7204, allocations: 0 / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.7204, allocations: 4.094 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.7205, allocations: 8 kB / 1.224 GB, free: 14.5 MB / 0.9512 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 6.672e-05/0.7205, allocations: 117.8 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.7205, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.7206, allocations: 15.42 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.7206, allocations: 0 / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7206, allocations: 0 / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.7206, allocations: 86.84 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.7207, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.7207, allocations: 4 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.7207, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001196/0.7208, allocations: 137.2 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002033/0.7211, allocations: 238.7 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.05e-05/0.7211, allocations: 8 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.1e-05/0.7212, allocations: 83.27 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of Backend: time 2.3e-07/0.7212, allocations: 96 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.7217, allocations: 157 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003317/0.7221, allocations: 0.5409 MB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.00316/0.7252, allocations: 0.9852 MB / 1.227 GB, free: 12.05 MB / 0.9512 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=480 -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) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y