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.007672/0.007672, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001345/0.001345, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.609/2.609, allocations: 472.6 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9281, allocations: 159.9 MB / 1.226 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002012/0.9301, allocations: 1.215 MB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.9309, allocations: 422.6 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.931, allocations: 0 / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.931, allocations: 4 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.9311, allocations: 7.875 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.9315, allocations: 103.6 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.9316, allocations: 11.98 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.9317, allocations: 8 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.9317, allocations: 7.938 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.9317, allocations: 3.984 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.9317, allocations: 7.938 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.9319, allocations: 103.8 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.932, allocations: 7.984 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.932, allocations: 11.92 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.9322, allocations: 84.81 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9322, allocations: 3.984 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9322, allocations: 3.938 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.9322, allocations: 0 / 1.227 GB, free: 11.74 MB / 0.9512 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.000465/0.9327, allocations: 384.9 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9327, allocations: 16.02 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.9328, allocations: 8.891 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.9329, allocations: 164.4 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.9329, allocations: 4.375 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.9329, allocations: 384 / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.933, allocations: 46.23 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.933, allocations: 192 / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.9331, allocations: 3.938 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9331, allocations: 0 / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.9331, allocations: 7.984 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.9332, allocations: 161.6 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.9333, allocations: 30.61 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.9334, allocations: 8.859 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.9334, allocations: 0 / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.9335, allocations: 51.5 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.9335, allocations: 4 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001929/0.9337, allocations: 73.55 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.9338, allocations: 59.41 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.9338, allocations: 101.8 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.9339, allocations: 29.7 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.9339, allocations: 80.14 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.9339, allocations: 7.953 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.934, allocations: 21.7 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.9341, allocations: 318.8 kB / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.9341, allocations: 11.98 kB / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.9341, allocations: 27.44 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/0.9342, allocations: 47.38 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9342, allocations: 11.88 kB / 1.229 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.9343, allocations: 73.55 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.9343, allocations: 7.938 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.9343, allocations: 0 / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.9344, allocations: 4 kB / 1.229 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.9344, allocations: 4 kB / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9344, allocations: 0 / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.9345, allocations: 11.89 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.9345, allocations: 4 kB / 1.229 GB, free: 9.73 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.904e-05/0.9346, allocations: 118.5 kB / 1.229 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.9346, allocations: 7.938 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.9346, allocations: 3.922 kB / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9346, allocations: 0 / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9346, allocations: 0 / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9346, allocations: 7.922 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.9347, allocations: 153.7 kB / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9347, allocations: 0 / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.9348, allocations: 4 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.9348, allocations: 11.94 kB / 1.229 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.9348, allocations: 3.984 kB / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9348, allocations: 0 / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9348, allocations: 0 / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.9349, allocations: 81.12 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.935, allocations: 85.05 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.935, allocations: 3.938 kB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.935, allocations: 0 / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.935, allocations: 12 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.935, allocations: 0 / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.9351, allocations: 83.27 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9351, allocations: 0 / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002406/0.9353, allocations: 31.94 kB / 1.23 GB, free: 9.035 MB / 0.9512 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.0003074/0.9356, allocations: 174.3 kB / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.9358, allocations: 23.98 kB / 1.23 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9358, allocations: 0 / 1.23 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.9358, allocations: 19.92 kB / 1.23 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.936, allocations: 6.438 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.9362, allocations: 120.6 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.9364, allocations: 0.6768 MB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.9364, allocations: 8.188 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.9364, allocations: 7.438 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.9365, allocations: 0 / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.003178/0.9396, allocations: 1.038 MB / 1.232 GB, free: 6.922 MB / 0.9512 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