Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 183.8 kB / 16.92 MB, free: 6.703 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 10.53 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3165, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001731/0.3183, allocations: 1.054 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.3192, allocations: 367.1 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.3192, allocations: 4 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.287e-05/0.3193, allocations: 0 / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.286e-05/0.3194, allocations: 3.938 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.3198, allocations: 71.86 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.3199, allocations: 47.89 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.32, allocations: 4 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.32, allocations: 15.94 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.3201, allocations: 19.91 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3201, allocations: 4 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3203, allocations: 75.86 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.3204, allocations: 23.92 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.3205, allocations: 77.42 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3207, allocations: 115.7 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3207, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3207, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3207, allocations: 4 kB / 1.061 GB, free: 3.086 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005686/0.3213, allocations: 0.4969 MB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3214, allocations: 12.03 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3215, allocations: 20.75 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3217, allocations: 176.2 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3217, allocations: 384 / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3217, allocations: 4.375 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.3221, allocations: 246.1 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3221, allocations: 192 / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3221, allocations: 3.938 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3221, allocations: 7.938 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3223, allocations: 144 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.3225, allocations: 201.4 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.323, allocations: 0.5301 MB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.3234, allocations: 0.5246 MB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.3234, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.3238, allocations: 399.6 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.3238, allocations: 0 / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0007965/0.3246, allocations: 0.6893 MB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3247, allocations: 105.1 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.3248, allocations: 101.8 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3249, allocations: 25.7 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.3249, allocations: 84.8 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.325, allocations: 71 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.325, allocations: 33.7 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3252, allocations: 322.8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.3253, allocations: 91.94 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.3254, allocations: 79.98 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3257, allocations: 357.3 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3257, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003768/0.3261, allocations: 328.1 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.3262, allocations: 87.14 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3262, allocations: 4 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3262, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.3263, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3263, allocations: 3.984 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3264, allocations: 27.84 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3264, allocations: 4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002611/0.3267, allocations: 269.6 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3268, allocations: 27.75 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.3268, allocations: 9.219 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3268, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3268, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3268, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.327, allocations: 245.4 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.327, allocations: 0 / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.327, allocations: 4 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.327, allocations: 3.938 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.3271, allocations: 15.98 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3271, allocations: 4 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3271, allocations: 0 / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3283, allocations: 1.287 MB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.3284, allocations: 92.86 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3285, allocations: 79.89 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.3286, allocations: 19.95 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3286, allocations: 8.125 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3286, allocations: 15.98 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.3287, allocations: 83.27 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3287, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003025/0.329, allocations: 72 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004548/0.3295, allocations: 243.8 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.3312, allocations: 1.96 MB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3312, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.3328, allocations: 2.011 MB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3331, allocations: 23.98 kB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.3338, allocations: 380.4 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3341, allocations: 0.713 MB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.3341, allocations: 11.38 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3342, allocations: 4 kB / 1.074 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004905/0.3391, allocations: 2.426 MB / 1.076 GB, free: 3.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches