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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007704/0.007704, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001751/0.001751, allocations: 195 kB / 16.68 MB, free: 5.957 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9111/0.9125, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002915/0.9154, allocations: 1.501 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.9169, allocations: 0.7595 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.917, allocations: 4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.9171, allocations: 3.938 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.9172, allocations: 23.72 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.9178, allocations: 127.6 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.9179, allocations: 87.7 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.918, allocations: 8 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.9182, allocations: 47.83 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.9183, allocations: 35.84 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.9183, allocations: 4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.9185, allocations: 95.91 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.9186, allocations: 15.92 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.9187, allocations: 39.78 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.919, allocations: 151.4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.919, allocations: 3.984 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.919, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.919, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 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.0009003/0.9199, allocations: 460.4 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.92, allocations: 8.031 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.9201, allocations: 4.938 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.9202, allocations: 184.1 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9203, allocations: 8.375 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9203, allocations: 12.3 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.9205, allocations: 77.95 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.9205, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9205, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9206, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.9207, allocations: 43.97 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.9213, allocations: 320.7 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.9215, allocations: 62.55 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.9216, allocations: 32.84 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.9217, allocations: 4 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.9219, allocations: 95.39 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.9219, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004686/0.9224, allocations: 161.4 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.9225, allocations: 59.34 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.9226, allocations: 129.7 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.9226, allocations: 33.7 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.9227, allocations: 88.36 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.9227, allocations: 27.66 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.9228, allocations: 33.7 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9229, allocations: 322.8 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.923, allocations: 27.98 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.9231, allocations: 72.38 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.9233, allocations: 109 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9233, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002521/0.9235, allocations: 129.5 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9236, allocations: 8 kB / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9236, allocations: 0 / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9236, allocations: 4 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.9237, allocations: 11.98 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9237, allocations: 4 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.9238, allocations: 15.98 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.9239, allocations: 4 kB / 1.213 GB, free: 7.969 MB / 0.9356 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.427e-05/0.924, allocations: 125.8 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.924, allocations: 7.906 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.9243, allocations: 149.9 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.9243, allocations: 8.078 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9243, allocations: 3.984 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9244, allocations: 3.938 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.9249, allocations: 426.5 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9249, allocations: 4 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.925, allocations: 15.92 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.925, allocations: 0 / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.9251, allocations: 4 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9251, allocations: 0 / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9251, allocations: 3.938 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.9254, allocations: 227.7 kB / 1.214 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.9255, allocations: 89.02 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.9255, allocations: 0 / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.9256, allocations: 11.98 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.9257, allocations: 19.86 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9257, allocations: 0 / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.9258, allocations: 99.27 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9258, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003344/0.9261, allocations: 43.98 kB / 1.214 GB, free: 6.641 MB / 0.9356 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.0003927/0.9265, allocations: 172.4 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.9268, allocations: 87.83 kB / 1.214 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9268, allocations: 0 / 1.214 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.9269, allocations: 43.92 kB / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.9272, allocations: 19.33 kB / 1.214 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.9277, allocations: 209.3 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.928, allocations: 0.6924 MB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.158e-05/0.928, allocations: 12.42 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.9281, allocations: 15.44 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.9281, allocations: 0 / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.005048/0.9331, allocations: 1.847 MB / 1.217 GB, free: 3.512 MB / 0.9356 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