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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001509/0.001509, allocations: 111.9 kB / 15.99 MB, free: 5.91 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.001561/0.001562, allocations: 195 kB / 16.91 MB, free: 5.754 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.699/2.699, allocations: 482.4 MB / 0.755 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.95 kB / 0.924 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7201, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002048/0.7222, allocations: 1.272 MB / 1.084 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.7229, allocations: 411.5 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.7229, allocations: 3.938 kB / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.7229, allocations: 0.6562 kB / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.723, allocations: 0 / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.7234, allocations: 91 kB / 1.084 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.7235, allocations: 14.56 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.7235, allocations: 10.56 kB / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.7235, allocations: 9.859 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.7236, allocations: 13.64 kB / 1.084 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.7236, allocations: 5.562 kB / 1.084 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.7238, allocations: 99.16 kB / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.7238, allocations: 2.531 kB / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.7238, allocations: 13.11 kB / 1.084 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.724, allocations: 64.34 kB / 1.084 GB, free: 344 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.724, allocations: 0.6562 kB / 1.084 GB, free: 344 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.724, allocations: 0 / 1.084 GB, free: 344 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.724, allocations: 1.188 kB / 1.084 GB, free: 344 kB / 0.8262 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.0004378/0.7245, allocations: 383.8 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.7245, allocations: 9.406 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.7246, allocations: 7.281 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.7247, allocations: 171.2 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.7247, allocations: 2.594 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.7247, allocations: 2.188 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.7249, allocations: 36.61 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7249, allocations: 1.562 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7249, allocations: 7.938 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7249, allocations: 0 / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.725, allocations: 4.781 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.7251, allocations: 162.1 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.7253, allocations: 32.61 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.7253, allocations: 15.33 kB / 1.085 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.7253, allocations: 1.438 kB / 1.085 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.7254, allocations: 53.5 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.7255, allocations: 5.094 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.7257, allocations: 76.28 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.7257, allocations: 53.34 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.7258, allocations: 101.6 kB / 1.085 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.7259, allocations: 26.2 kB / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.7259, allocations: 85.8 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.7259, allocations: 6.594 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.726, allocations: 21.33 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7261, allocations: 321.4 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.7262, allocations: 9.359 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.7262, allocations: 33.42 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/0.7263, allocations: 46.06 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7263, allocations: 4 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.946e-05/0.7264, allocations: 62.16 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7264, allocations: 9.875 kB / 1.086 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7264, allocations: 4.844 kB / 1.086 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7264, allocations: 5.109 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.7265, allocations: 17.05 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.7265, allocations: 2.188 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.7266, allocations: 5.312 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.7266, allocations: 1.75 kB / 1.086 GB, free: 14.56 MB / 0.8419 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 9.51e-05/0.7267, allocations: 119.6 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.7267, allocations: 4.531 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.7267, allocations: 5.328 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.7267, allocations: 1.375 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7267, allocations: 0 / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7267, allocations: 0.5312 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.7269, allocations: 155.3 kB / 1.086 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7269, allocations: 0 / 1.086 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.7269, allocations: 6.844 kB / 1.086 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7269, allocations: 7.938 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7269, allocations: 1.766 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7269, allocations: 4.547 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.727, allocations: 1.156 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.7271, allocations: 81.41 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.7272, allocations: 82.73 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.7272, allocations: 5.594 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.7272, allocations: 0 / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.7273, allocations: 7.844 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.7273, allocations: 1.5 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.7274, allocations: 84.14 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7274, allocations: 0 / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004316/0.7278, allocations: 28.5 kB / 1.087 GB, free: 13.97 MB / 0.8419 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.0003904/0.7282, allocations: 180.4 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.7283, allocations: 30.66 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7283, allocations: 0 / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.7284, allocations: 20.88 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.7285, allocations: 3.203 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.7288, allocations: 132.7 kB / 1.087 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7291, allocations: 0.6808 MB / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.7291, allocations: 10.83 kB / 1.088 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.7291, allocations: 0 / 1.088 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.003106/0.7322, allocations: 1.212 MB / 1.089 GB, free: 12.85 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches