Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.008513/0.008513, allocations: 100.2 kB / 15.73 MB, free: 6.441 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.001892/0.001892, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7453 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 159.9 MB / 1.226 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00263/0.3752, allocations: 1.507 MB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3766, allocations: 0.7672 MB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3767, allocations: 0 / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.3767, allocations: 3.938 kB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.3769, allocations: 19.84 kB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.3774, allocations: 127.5 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3775, allocations: 83.72 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3776, allocations: 19.97 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3778, allocations: 31.91 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.3778, allocations: 47.77 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3779, allocations: 8 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3781, allocations: 91.91 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.3781, allocations: 23.91 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.3782, allocations: 31.86 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3785, allocations: 151.4 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3785, allocations: 0 / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.566e-06/0.3785, allocations: 4 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.3785, allocations: 0 / 1.228 GB, free: 6.301 MB / 0.9825 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.0007264/0.3792, allocations: 462.3 kB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3793, allocations: 12.03 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.3793, allocations: 8.891 kB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3794, allocations: 178.6 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3795, allocations: 12.38 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3795, allocations: 4.375 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3797, allocations: 77.89 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3797, allocations: 4 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3797, allocations: 0 / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3797, allocations: 3.938 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3799, allocations: 43.97 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.3804, allocations: 324.7 kB / 1.23 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3806, allocations: 62.55 kB / 1.23 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.3807, allocations: 32.84 kB / 1.23 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3807, allocations: 0 / 1.23 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.381, allocations: 95.39 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.381, allocations: 4 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000391/0.3814, allocations: 157.5 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3814, allocations: 51.41 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3815, allocations: 137.7 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3815, allocations: 29.7 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3816, allocations: 88.38 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3817, allocations: 31.98 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.3817, allocations: 37.64 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3818, allocations: 326.8 kB / 1.231 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.3819, allocations: 27.98 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.382, allocations: 61.14 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3822, allocations: 101.1 kB / 1.231 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3822, allocations: 4 kB / 1.231 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002442/0.3825, allocations: 137.6 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3825, allocations: 8 kB / 1.231 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3825, allocations: 3.938 kB / 1.231 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3825, allocations: 4 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3826, allocations: 11.98 kB / 1.231 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3826, allocations: 4 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.3827, allocations: 15.88 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3828, allocations: 8.375 kB / 1.231 GB, free: 3.508 MB / 0.9825 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.0001016/0.3829, allocations: 130.3 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.3829, allocations: 7.953 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.3832, allocations: 145.9 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3832, allocations: 7.875 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3832, allocations: 0 / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3832, allocations: 7.984 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.3838, allocations: 422.3 kB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3838, allocations: 4 kB / 1.232 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.3839, allocations: 11.98 kB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.3839, allocations: 4 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3839, allocations: 0 / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3839, allocations: 3.938 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3839, allocations: 7.938 kB / 1.232 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3842, allocations: 227.4 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3843, allocations: 93 kB / 1.232 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3843, allocations: 0 / 1.232 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3844, allocations: 7.984 kB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.3845, allocations: 15.92 kB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3845, allocations: 4 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.659e-05/0.3846, allocations: 101.6 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3846, allocations: 0 / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002992/0.3849, allocations: 43.92 kB / 1.232 GB, free: 2.18 MB / 0.9825 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.0003278/0.3852, allocations: 163.7 kB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3855, allocations: 91.86 kB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3855, allocations: 0 / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3856, allocations: 47.92 kB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3859, allocations: 20.17 kB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.3863, allocations: 211.5 kB / 1.233 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3866, allocations: 0.6963 MB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.3866, allocations: 16.42 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.3867, allocations: 11.44 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3867, allocations: 0 / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of Templates: time 0.004571/0.3913, allocations: 1.801 MB / 1.235 GB, free: 15.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches