Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009368, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005427, allocations: 8.844 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3102, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001671/0.3119, allocations: 1.229 MB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3133, allocations: 0.7479 MB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3134, allocations: 3.938 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.3134, allocations: 3.938 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3135, allocations: 23.84 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.3141, allocations: 103.8 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3143, allocations: 71.78 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3144, allocations: 15.98 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3145, allocations: 35.84 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.3146, allocations: 31.84 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3146, allocations: 8 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3148, allocations: 91.84 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3149, allocations: 11.98 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.315, allocations: 65.47 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3152, allocations: 104 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3152, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3152, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.3152, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 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.000751/0.316, allocations: 450.7 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.316, allocations: 8.031 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.3161, allocations: 8.844 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3162, allocations: 184.2 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3163, allocations: 4.375 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3163, allocations: 8.359 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3165, allocations: 73.97 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3165, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3165, allocations: 4 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3165, allocations: 0 / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3167, allocations: 47.91 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.3172, allocations: 324.7 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3174, allocations: 66.55 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.3175, allocations: 36.84 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3175, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3177, allocations: 103.3 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3177, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000396/0.3181, allocations: 157.5 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3182, allocations: 67.53 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.3183, allocations: 128.5 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3183, allocations: 37.7 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.3184, allocations: 88.36 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3184, allocations: 19.72 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3185, allocations: 25.7 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3186, allocations: 322.8 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.3187, allocations: 27.98 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3188, allocations: 77.12 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.319, allocations: 101 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.319, allocations: 4 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002571/0.3193, allocations: 133.4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3193, allocations: 8 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3193, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3193, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3195, allocations: 24.05 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3195, allocations: 7.938 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3196, allocations: 19.92 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3196, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 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.0001013/0.3197, allocations: 123.2 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3198, allocations: 7.906 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.3201, allocations: 153.9 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3201, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3201, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3201, allocations: 3.984 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3207, allocations: 442.2 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3207, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.3208, allocations: 15.98 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3208, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3208, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3208, allocations: 4.375 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3208, allocations: 3.938 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3211, allocations: 235.3 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3212, allocations: 88.95 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3212, allocations: 3.938 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3214, allocations: 15.98 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3214, allocations: 15.86 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3214, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.3215, allocations: 103.3 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3215, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000314/0.3218, allocations: 43.98 kB / 1.065 GB, free: 14.27 MB / 0.8262 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.0003295/0.3222, allocations: 162.8 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3224, allocations: 91.83 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3224, allocations: 0 / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3225, allocations: 47.92 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3228, allocations: 11.98 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3233, allocations: 269 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3236, allocations: 0.6926 MB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.3236, allocations: 15.42 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3236, allocations: 4 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.003663/0.3273, allocations: 1.811 MB / 1.068 GB, free: 11.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches