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.001374/0.001374, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001306/0.001306, allocations: 189.6 kB / 16.25 MB, free: 6.641 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.3 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 64.56 kB / 0.9233 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3083, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003003/0.3114, allocations: 1.567 MB / 1.083 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3128, allocations: 0.7557 MB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.3128, allocations: 0 / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.3129, allocations: 3.938 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.313, allocations: 15.92 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.3136, allocations: 103.8 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3137, allocations: 87.7 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.3138, allocations: 19.97 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.3139, allocations: 31.86 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.314, allocations: 51.81 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.314, allocations: 8 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3142, allocations: 95.84 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.3143, allocations: 15.92 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.3143, allocations: 35.86 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3146, allocations: 143.9 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3146, allocations: 0 / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3146, allocations: 0 / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3146, allocations: 0 / 1.085 GB, free: 10.7 MB / 0.8419 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.0007879/0.3154, allocations: 468.6 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3155, allocations: 12.03 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3155, allocations: 8.844 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3157, allocations: 180.2 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3157, allocations: 4.375 kB / 1.085 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3158, allocations: 8.312 kB / 1.085 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.316, allocations: 77.95 kB / 1.085 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.316, allocations: 0 / 1.085 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.316, allocations: 4 kB / 1.085 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.316, allocations: 4 kB / 1.085 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3161, allocations: 39.97 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.3167, allocations: 320.7 kB / 1.086 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3169, allocations: 62.55 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.317, allocations: 36.84 kB / 1.086 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.317, allocations: 0 / 1.086 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.3172, allocations: 95.33 kB / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.3173, allocations: 0 / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004013/0.3177, allocations: 161.5 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3177, allocations: 55.41 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3178, allocations: 137.7 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3179, allocations: 25.7 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3179, allocations: 96.52 kB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.318, allocations: 23.7 kB / 1.086 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.318, allocations: 29.7 kB / 1.086 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3182, allocations: 326.8 kB / 1.087 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.3183, allocations: 31.98 kB / 1.087 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.3184, allocations: 63.64 kB / 1.087 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3186, allocations: 105 kB / 1.087 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3186, allocations: 4 kB / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002415/0.3189, allocations: 133.5 kB / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3189, allocations: 9.406 kB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3189, allocations: 3.984 kB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3189, allocations: 0 / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.319, allocations: 15.98 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.319, allocations: 8.125 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3191, allocations: 11.92 kB / 1.087 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3192, allocations: 8 kB / 1.087 GB, free: 7.91 MB / 0.8419 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.0001098/0.3193, allocations: 125.7 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.3193, allocations: 7.906 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3196, allocations: 142 kB / 1.087 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3196, allocations: 4 kB / 1.087 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3197, allocations: 0 / 1.087 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3197, allocations: 11.92 kB / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3203, allocations: 426.3 kB / 1.088 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3203, allocations: 0 / 1.088 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.3204, allocations: 15.92 kB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3204, allocations: 0 / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3204, allocations: 384 / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3204, allocations: 4 kB / 1.088 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3204, allocations: 7.938 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3207, allocations: 231.5 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3208, allocations: 88.89 kB / 1.088 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3208, allocations: 4 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3209, allocations: 7.984 kB / 1.088 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.321, allocations: 19.92 kB / 1.088 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.321, allocations: 4 kB / 1.088 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.3211, allocations: 99.27 kB / 1.088 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3211, allocations: 0 / 1.088 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003093/0.3214, allocations: 43.98 kB / 1.088 GB, free: 6.582 MB / 0.8419 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.0003737/0.3218, allocations: 160.8 kB / 1.088 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3221, allocations: 91.92 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3221, allocations: 0 / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3222, allocations: 47.92 kB / 1.089 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3225, allocations: 12.41 kB / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.323, allocations: 227.9 kB / 1.089 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3233, allocations: 0.7 MB / 1.089 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.3234, allocations: 20.39 kB / 1.089 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3234, allocations: 11.44 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3234, allocations: 7.938 kB / 1.089 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.00512/0.3285, allocations: 1.725 MB / 1.091 GB, free: 3.547 MB / 0.8419 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=400 -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