Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 114.6 kB / 16.42 MB, free: 6.5 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.001571/0.001571, allocations: 187.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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.442/2.442, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6925, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001973/0.6945, allocations: 1.21 MB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.6952, allocations: 417.1 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.6953, allocations: 3.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.6953, allocations: 0 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.6953, allocations: 7.984 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.6958, allocations: 107.6 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.6959, allocations: 15.98 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.6959, allocations: 4 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.6959, allocations: 11.94 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.696, allocations: 3.984 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.696, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.6962, allocations: 95.84 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.6962, allocations: 19.91 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.6962, allocations: 4 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.6964, allocations: 95.75 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6964, allocations: 0 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6964, allocations: 0 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6964, allocations: 0 / 1.169 GB, free: 1.902 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004408/0.6969, allocations: 392.9 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6969, allocations: 12.92 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.697, allocations: 0.9375 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.6971, allocations: 168.4 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.6971, allocations: 8.375 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6971, allocations: 4.312 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.6972, allocations: 42.25 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.6973, allocations: 192 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6973, allocations: 3.938 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.6973, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.6973, allocations: 4 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.6975, allocations: 157.7 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.6975, allocations: 30.58 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.6976, allocations: 16.88 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.6976, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.6977, allocations: 55.41 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6977, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001825/0.6979, allocations: 73.52 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6979, allocations: 59.41 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.698, allocations: 105.8 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.698, allocations: 25.7 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.6981, allocations: 84.14 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.6981, allocations: 7.906 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.6981, allocations: 17.72 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.6982, allocations: 318.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.6983, allocations: 8 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.6983, allocations: 35.42 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.6984, allocations: 47.38 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6984, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001068/0.6985, allocations: 70.06 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6985, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6985, allocations: 7.969 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6985, allocations: 7.984 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.6986, allocations: 7.938 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.6986, allocations: 160 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.6986, allocations: 13.67 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6986, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 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 7.257e-05/0.6987, allocations: 113.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.6987, allocations: 11.97 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.6988, allocations: 11.42 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6988, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6988, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.6988, allocations: 77.11 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.6988, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.6989, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.6989, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000133/0.699, allocations: 140.9 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000162/0.6992, allocations: 238.7 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.198e-05/0.6992, allocations: 8 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.6993, allocations: 83.27 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of Backend: time 2.11e-07/0.6993, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.6998, allocations: 165.1 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003335/0.7002, allocations: 0.5448 MB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.003127/0.7033, allocations: 1.064 MB / 1.173 GB, free: 13.35 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y