Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 108.2 kB / 16.37 MB, free: 5.984 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.001144/0.001144, allocations: 194 kB / 17.31 MB, free: 5.602 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.35/1.35, 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 9.1.2-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 72.86 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002774/0.3185, allocations: 1.508 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3199, allocations: 0.7595 MB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.32, allocations: 0 / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.32, allocations: 3.938 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3202, allocations: 23.78 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.3207, allocations: 127.6 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3209, allocations: 83.72 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.321, allocations: 15.98 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.3211, allocations: 39.84 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3212, allocations: 39.83 kB / 0.9537 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3212, allocations: 4 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3214, allocations: 95.91 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.3214, allocations: 23.92 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.3215, allocations: 35.84 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3217, allocations: 143.5 kB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3218, allocations: 7.938 kB / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3218, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3218, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7325 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.0007399/0.3225, allocations: 458.6 kB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3226, allocations: 12.03 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3226, allocations: 12.84 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3228, allocations: 180 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3228, allocations: 8.375 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3228, allocations: 4.375 kB / 0.9546 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.323, allocations: 77.91 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.323, allocations: 7.922 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3231, allocations: 3.984 kB / 0.9547 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3231, allocations: 0 / 0.9547 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.3232, allocations: 43.97 kB / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.3238, allocations: 328.5 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3239, allocations: 58.55 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.324, allocations: 36.84 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.324, allocations: 0 / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.3243, allocations: 99.39 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3243, allocations: 0 / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003988/0.3247, allocations: 157.5 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3247, allocations: 51.41 kB / 0.9554 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3248, allocations: 129.8 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3249, allocations: 25.7 kB / 0.9556 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.3249, allocations: 96.38 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.325, allocations: 23.86 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.325, allocations: 29.7 kB / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3251, allocations: 326.8 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.3252, allocations: 27.98 kB / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3253, allocations: 69.08 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3255, allocations: 101 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3255, allocations: 0 / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002362/0.3257, allocations: 133.4 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3258, allocations: 8 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3258, allocations: 0 / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3258, allocations: 4 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3259, allocations: 11.98 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3259, allocations: 4.375 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.326, allocations: 19.83 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3261, allocations: 12 kB / 0.9564 GB, free: 2.375 MB / 0.7325 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.0001027/0.3262, allocations: 131.7 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.3262, allocations: 11.84 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.3265, allocations: 142 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3265, allocations: 4 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3265, allocations: 0 / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3265, allocations: 0 / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.3271, allocations: 438.2 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3271, allocations: 0 / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.3272, allocations: 12.03 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.3272, allocations: 7.969 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3272, allocations: 0 / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3272, allocations: 4 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3272, allocations: 3.938 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3275, allocations: 231.5 kB / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3276, allocations: 92.95 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3276, allocations: 0 / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3277, allocations: 7.984 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3278, allocations: 15.92 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3278, allocations: 4 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.3279, allocations: 99.27 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3279, allocations: 0 / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003355/0.3282, allocations: 47.98 kB / 0.9576 GB, free: 1.039 MB / 0.7325 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 (12): * Single equations (assignments): 9 * 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.0003501/0.3286, allocations: 161.9 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3289, allocations: 95.77 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3289, allocations: 0 / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.329, allocations: 52.22 kB / 0.9579 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3293, allocations: 14.64 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.3298, allocations: 203.6 kB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.33, allocations: 0.6924 MB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.3301, allocations: 12.42 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3301, allocations: 15.44 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3301, allocations: 0 / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of Templates: time 0.004765/0.3349, allocations: 1.798 MB / 0.9606 GB, free: 13.96 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches