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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001078/0.001078, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001121/0.00112, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 11.98 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6916, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001334/0.6929, allocations: 0.9332 MB / 1.022 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.6937, allocations: 395.1 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.6937, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.6938, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.6938, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.6942, allocations: 83.72 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.035e-05/0.6943, allocations: 11.97 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.6943, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.6944, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.6944, allocations: 15.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.6944, allocations: 4 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.6946, allocations: 79.86 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.6946, allocations: 3.938 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.6946, allocations: 29.7 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.6948, allocations: 63.91 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6948, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6948, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.6948, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 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.0004312/0.6952, allocations: 375 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.6953, allocations: 15.98 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.6953, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.6954, allocations: 163.1 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.6955, allocations: 3.984 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.6955, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.6956, allocations: 41.58 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.6956, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6956, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6956, allocations: 7.938 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.6957, allocations: 4 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.6958, allocations: 165.6 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.6959, allocations: 30.55 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.6959, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.6961, allocations: 71.28 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6961, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.6963, allocations: 61.88 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6963, allocations: 63.39 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.6964, allocations: 97.84 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6964, allocations: 29.7 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.6965, allocations: 84.14 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.6965, allocations: 7.891 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.6965, allocations: 4 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6966, allocations: 310.8 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.6967, allocations: 8 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.6967, allocations: 39.36 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.6968, allocations: 12 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6968, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.93e-05/0.6969, allocations: 69.53 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6969, allocations: 6.125 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6969, allocations: 7.953 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6969, allocations: 4 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.697, allocations: 11.92 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.697, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.697, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.6971, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.6971, allocations: 109.8 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.6972, allocations: 4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.6972, allocations: 7.5 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6972, allocations: 7.938 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6972, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6972, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.6973, allocations: 153.7 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6973, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.6974, allocations: 3.938 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6974, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.6974, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6974, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.6974, allocations: 3.953 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6975, allocations: 92.95 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.6976, allocations: 77.11 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.6976, allocations: 4 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.6976, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.6976, allocations: 7.938 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.6977, allocations: 3.938 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.6977, allocations: 79.28 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6977, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002462/0.698, allocations: 35.98 kB / 1.025 GB, free: 12.89 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003159/0.6983, allocations: 157.2 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.057e-05/0.6984, allocations: 27.92 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6984, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.6984, allocations: 16.19 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.557e-05/0.6985, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.6988, allocations: 128.5 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.699, allocations: 0.6809 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.6991, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.6991, allocations: 15.44 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6991, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.003134/0.7022, allocations: 0.9969 MB / 1.027 GB, free: 10.82 MB / 0.7794 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","../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