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.0009968/0.000997, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001032/0.001032, allocations: 191 kB / 17.29 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.98 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.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.61 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002785/0.3123, allocations: 1.515 MB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3137, allocations: 0.7556 MB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.3137, allocations: 0 / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.3138, allocations: 7.922 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.3139, allocations: 15.86 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.3144, allocations: 131.5 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3146, allocations: 87.7 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3147, allocations: 15.98 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3148, allocations: 43.84 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.3149, allocations: 31.91 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.315, allocations: 4 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.3152, allocations: 103.8 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.3152, allocations: 15.97 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.3153, allocations: 35.8 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.3156, allocations: 151.5 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3157, allocations: 4 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3157, allocations: 0 / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3157, allocations: 3.938 kB / 0.9539 GB, free: 5.137 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.0007473/0.3164, allocations: 458.6 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.3165, allocations: 12.03 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.3165, allocations: 8.844 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3166, allocations: 180.2 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3167, allocations: 12.38 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3167, allocations: 4.375 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3169, allocations: 81.89 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3169, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3169, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3169, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3171, allocations: 43.97 kB / 0.9547 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.3176, allocations: 324.6 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3177, allocations: 62.59 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.3178, allocations: 32.84 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3178, allocations: 0 / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3181, allocations: 99.34 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3181, allocations: 0 / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003903/0.3185, allocations: 153.5 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3185, allocations: 51.41 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.3186, allocations: 129.8 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3187, allocations: 33.64 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3187, allocations: 92.73 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.3187, allocations: 23.86 kB / 0.9557 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.3188, allocations: 33.7 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3189, allocations: 326.8 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.319, allocations: 31.92 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.3191, allocations: 69.12 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3193, allocations: 101.1 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3193, allocations: 0 / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002724/0.3196, allocations: 129.5 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3196, allocations: 12.03 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3196, allocations: 0 / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3196, allocations: 4 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3197, allocations: 15.92 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3198, allocations: 4 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3199, allocations: 23.83 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3199, allocations: 4 kB / 0.9564 GB, free: 2.355 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 9.295e-05/0.32, allocations: 136.9 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.32, allocations: 7.906 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.3203, allocations: 145.9 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3204, allocations: 4 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3204, allocations: 0 / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3204, allocations: 0 / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.3209, allocations: 430.2 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3209, allocations: 4 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.321, allocations: 11.98 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.321, allocations: 0 / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.321, allocations: 0 / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.321, allocations: 4 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.321, allocations: 3.938 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3213, allocations: 227.3 kB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3214, allocations: 88.95 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3214, allocations: 4 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3215, allocations: 7.984 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3216, allocations: 19.86 kB / 0.9574 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3216, allocations: 4 kB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.3217, allocations: 110.1 kB / 0.9575 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3217, allocations: 0 / 0.9575 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003153/0.322, allocations: 40 kB / 0.9576 GB, free: 1.027 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.000314/0.3223, allocations: 169.2 kB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3226, allocations: 87.83 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3226, allocations: 0 / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3227, allocations: 43.97 kB / 0.9579 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.323, allocations: 16.23 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3235, allocations: 211.5 kB / 0.9581 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3237, allocations: 0.6963 MB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.3238, allocations: 8.438 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.3238, allocations: 19.42 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3238, allocations: 0 / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.00468/0.3285, allocations: 1.789 MB / 0.9605 GB, free: 13.95 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 gbode -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