Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001504/0.001504, allocations: 100.1 kB / 15.88 MB, free: 12 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.001781/0.001781, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6449, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00245/0.6474, allocations: 1.568 MB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.6485, allocations: 0.7607 MB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.6486, allocations: 5.312 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.6486, allocations: 0 / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.6488, allocations: 17.23 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.6492, allocations: 106 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6494, allocations: 83.45 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.6495, allocations: 17.47 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.6496, allocations: 36.3 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.6496, allocations: 43.61 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.6497, allocations: 8 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.6499, allocations: 90.44 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.6499, allocations: 15.06 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.65, allocations: 42.62 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.6501, allocations: 106.3 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6501, allocations: 0 / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6502, allocations: 0 / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.6502, allocations: 1.281 kB / 0.9524 GB, free: 6.965 MB / 0.7169 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.0007131/0.6509, allocations: 479.4 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6509, allocations: 9.094 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.651, allocations: 14.38 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.6511, allocations: 173.1 kB / 0.9531 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.6512, allocations: 35.81 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.6512, allocations: 8.344 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.6514, allocations: 79.05 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6514, allocations: 0 / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6514, allocations: 9.156 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.6514, allocations: 1.219 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.6516, allocations: 45.7 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.6521, allocations: 322.8 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.6523, allocations: 83.2 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6525, allocations: 34 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.6525, allocations: 5.234 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.6527, allocations: 93.91 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6528, allocations: 5.344 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004708/0.6532, allocations: 167.4 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.6533, allocations: 66.08 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.6534, allocations: 135.3 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6534, allocations: 31.11 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.6534, allocations: 92.5 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.6535, allocations: 26.58 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.6535, allocations: 31.58 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.6536, allocations: 321.2 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6537, allocations: 36.5 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.6538, allocations: 67.03 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.654, allocations: 104.3 kB / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.654, allocations: 0 / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002723/0.6543, allocations: 139.3 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6543, allocations: 7.25 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6544, allocations: 1.5 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6544, allocations: 1.344 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6545, allocations: 25.23 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6545, allocations: 1.281 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.6546, allocations: 19.11 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6547, allocations: 4.531 kB / 0.955 GB, free: 4.574 MB / 0.7169 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 7.251e-05/0.6547, allocations: 127.8 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.6548, allocations: 12.23 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.6548, allocations: 10.72 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6548, allocations: 0.875 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6548, allocations: 1.031 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6548, allocations: 0 / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.6553, allocations: 432.3 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6554, allocations: 1.281 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.6554, allocations: 5.875 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6554, allocations: 5.047 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.6555, allocations: 5 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6555, allocations: 5.094 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6555, allocations: 4.469 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.6558, allocations: 232 kB / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.6558, allocations: 83.33 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.6559, allocations: 1.156 kB / 0.9559 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.656, allocations: 12.98 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.656, allocations: 12.98 kB / 0.9559 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.6561, allocations: 20.05 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.6561, allocations: 101 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6561, allocations: 0 / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003292/0.6565, allocations: 43.38 kB / 0.956 GB, free: 3.605 MB / 0.7169 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.000316/0.6568, allocations: 166.3 kB / 0.9562 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.6571, allocations: 87.59 kB / 0.9563 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6571, allocations: 0 / 0.9563 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6572, allocations: 52.53 kB / 0.9563 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.6575, allocations: 17.98 kB / 0.9563 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.658, allocations: 244.7 kB / 0.9566 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.6582, allocations: 0.6921 MB / 0.9573 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.6582, allocations: 20.95 kB / 0.9573 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6582, allocations: 0 / 0.9573 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.003542/0.6618, allocations: 1.853 MB / 0.9591 GB, free: 1.539 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches