Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001354/0.001354, allocations: 198 kB / 17.3 MB, free: 5.883 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.33 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3227, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.004362/0.3271, allocations: 1.514 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3292, allocations: 0.7726 MB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.3293, allocations: 4 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3294, allocations: 7.875 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3295, allocations: 15.84 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.3303, allocations: 131.6 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3305, allocations: 87.7 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3306, allocations: 8 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3307, allocations: 43.83 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.3308, allocations: 35.84 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3309, allocations: 8 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.3312, allocations: 103.8 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.3312, allocations: 23.92 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3313, allocations: 39.78 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3316, allocations: 159.5 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3317, allocations: 4 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3317, allocations: 0 / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3317, allocations: 0 / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001106/0.3328, allocations: 470.5 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3329, allocations: 16.03 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.333, allocations: 12.78 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3332, allocations: 179.5 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3333, allocations: 38.25 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3334, allocations: 8.375 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3337, allocations: 81.7 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3337, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3337, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3338, allocations: 4 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.3341, allocations: 55.89 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.3349, allocations: 312.8 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3352, allocations: 78.56 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3354, allocations: 40.83 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3355, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.3358, allocations: 99.27 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.3359, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0007568/0.3366, allocations: 173.5 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3367, allocations: 51.41 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3369, allocations: 138 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3369, allocations: 25.7 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.337, allocations: 96.36 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.337, allocations: 23.66 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.3371, allocations: 29.7 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3373, allocations: 330.8 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3375, allocations: 27.98 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3377, allocations: 65.75 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3381, allocations: 113 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3381, allocations: 0 / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005107/0.3386, allocations: 137.5 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3386, allocations: 8 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3387, allocations: 0 / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3387, allocations: 4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3389, allocations: 19.92 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3389, allocations: 0 / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3391, allocations: 15.89 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3391, allocations: 11.98 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001456/0.3393, allocations: 132.2 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.3393, allocations: 12.22 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.3394, allocations: 8.812 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3394, allocations: 7.984 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3394, allocations: 4 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3395, allocations: 3.938 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3405, allocations: 430.4 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3405, allocations: 4 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3406, allocations: 11.98 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3407, allocations: 0 / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3407, allocations: 0 / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3407, allocations: 7.938 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3407, allocations: 0 / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.3413, allocations: 231.3 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.3414, allocations: 81.02 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3414, allocations: 4 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3416, allocations: 15.92 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.3417, allocations: 7.984 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3418, allocations: 7.984 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000101/0.3419, allocations: 99.27 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3419, allocations: 4 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005566/0.3424, allocations: 36 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004552/0.3429, allocations: 167.3 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.3434, allocations: 84.14 kB / 1.025 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3434, allocations: 4 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3436, allocations: 51.91 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.3441, allocations: 19.92 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.3449, allocations: 199.2 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3452, allocations: 0.7002 MB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.3453, allocations: 16.55 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.3454, allocations: 15.42 kB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.3454, allocations: 0 / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of Templates: time 0.007386/0.3528, allocations: 1.806 MB / 1.028 GB, free: 15.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches