Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.0008945/0.0008984, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006083/0.006083, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.979/2.979, allocations: 462.6 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8.406 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001529/0.3466, allocations: 0.947 MB / 1.06 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3478, allocations: 422.8 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3478, allocations: 0 / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3479, allocations: 0 / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.348, allocations: 3.984 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008733/0.3488, allocations: 83.8 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.3489, allocations: 19.92 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.349, allocations: 7.938 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.3491, allocations: 15.92 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.3491, allocations: 8 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3491, allocations: 0 / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.3495, allocations: 95.89 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.3495, allocations: 3.938 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.3496, allocations: 37.69 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3499, allocations: 95.75 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3499, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3499, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3499, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 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.0005044/0.3504, allocations: 381.4 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3505, allocations: 12.03 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3505, allocations: 0.9375 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3506, allocations: 172.3 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3507, allocations: 4.375 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3507, allocations: 384 / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3508, allocations: 38.25 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3508, allocations: 4.188 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3508, allocations: 3.938 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3509, allocations: 4 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.3509, allocations: 11.92 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.3511, allocations: 157.7 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.3512, allocations: 26.58 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.3512, allocations: 12.94 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.3512, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3514, allocations: 55.41 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3514, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.3516, allocations: 73.55 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3517, allocations: 55.41 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.3518, allocations: 101.8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3518, allocations: 29.7 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3518, allocations: 80.14 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3519, allocations: 11.81 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3519, allocations: 21.7 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3521, allocations: 314.8 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.3521, allocations: 8 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.3521, allocations: 35.42 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.3522, allocations: 43.38 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3522, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.3523, allocations: 69.94 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3523, allocations: 11.92 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3524, allocations: 3.938 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3524, allocations: 7.984 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.3524, allocations: 7.984 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3525, allocations: 4 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.3526, allocations: 8.094 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3526, allocations: 4 kB / 1.062 GB, free: 1.742 MB / 0.8106 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.642e-05/0.3527, allocations: 115.2 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.3527, allocations: 11.84 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.3527, allocations: 11.48 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3527, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3527, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3527, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3529, allocations: 153.7 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3529, allocations: 8 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.3529, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3529, allocations: 3.938 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3529, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3529, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3529, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.3531, allocations: 81.11 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.3531, allocations: 77.11 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3531, allocations: 7.922 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.3532, allocations: 8 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.3532, allocations: 3.938 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3532, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.3533, allocations: 79.28 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000258/0.3535, allocations: 35.98 kB / 1.063 GB, free: 1.055 MB / 0.8106 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.0003672/0.3539, allocations: 166.3 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.354, allocations: 27.92 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.354, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.3541, allocations: 8 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3542, allocations: 15.92 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.3545, allocations: 114.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3548, allocations: 0.6809 MB / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.3548, allocations: 4 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.3549, allocations: 7.438 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 4.6e-07/0.3549, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.00372/0.3586, allocations: 1.007 MB / 1.065 GB, free: 14.98 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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