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 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.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.001297/0.001297, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.00126/0.00126, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.729/2.729, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 60.88 kB / 0.9245 GB, free: 28 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7165, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002578/0.7191, allocations: 1.493 MB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7202, allocations: 0.7662 MB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.7203, allocations: 1.375 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.7204, allocations: 9.281 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.7204, allocations: 11.38 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.721, allocations: 122.6 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.7211, allocations: 83.97 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.7212, allocations: 24.55 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.7213, allocations: 40.89 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.7214, allocations: 41.38 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.7215, allocations: 5.812 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.7217, allocations: 99.03 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.7217, allocations: 15.89 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.7218, allocations: 37.92 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.722, allocations: 142.7 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7221, allocations: 0.9062 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7221, allocations: 4 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7221, allocations: 0.7812 kB / 1.086 GB, free: 15.81 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.0008192/0.7229, allocations: 464.3 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7229, allocations: 13.5 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.723, allocations: 9.625 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.7232, allocations: 182.9 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.7232, allocations: 2.594 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.7232, allocations: 13.28 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.7234, allocations: 75.91 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.7234, allocations: 0.8438 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7235, allocations: 4.781 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7235, allocations: 5.703 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.7236, allocations: 41.47 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.7242, allocations: 320.2 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.7243, allocations: 58.28 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.7244, allocations: 37.23 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.7245, allocations: 1.312 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.7247, allocations: 100.8 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7247, allocations: 0 / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004116/0.7251, allocations: 156.8 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.7252, allocations: 54.72 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7253, allocations: 134.6 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.7253, allocations: 27.78 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.7254, allocations: 92.17 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.7254, allocations: 25.78 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.7255, allocations: 34.88 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7257, allocations: 324.6 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.7257, allocations: 27.72 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.7259, allocations: 66.62 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.7261, allocations: 100.5 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.7261, allocations: 0 / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.7263, allocations: 126.4 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7264, allocations: 9.531 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7264, allocations: 2.188 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7264, allocations: 1.938 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.7265, allocations: 22.72 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7265, allocations: 2.75 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.7266, allocations: 9.828 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.7267, allocations: 6.328 kB / 1.088 GB, free: 13.68 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.0001079/0.7268, allocations: 129.4 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.7268, allocations: 13.47 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.7272, allocations: 152.3 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7272, allocations: 2.656 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7272, allocations: 0.9844 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7272, allocations: 0 / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.7279, allocations: 428.1 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7279, allocations: 5.156 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.728, allocations: 13.47 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.728, allocations: 2.047 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.728, allocations: 6.562 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.728, allocations: 0.5625 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.728, allocations: 7.938 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.7283, allocations: 224 kB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.7284, allocations: 88.91 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.7284, allocations: 9.25 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7285, allocations: 7.297 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.7286, allocations: 18.58 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.7286, allocations: 3.188 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.7287, allocations: 95.2 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7287, allocations: 1.188 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003374/0.7291, allocations: 41.36 kB / 1.089 GB, free: 12.73 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.0003563/0.7294, allocations: 165.2 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.7297, allocations: 95.11 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7297, allocations: 3.938 kB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7298, allocations: 47.72 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.7301, allocations: 17.52 kB / 1.09 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.7306, allocations: 228.6 kB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.731, allocations: 0.7007 MB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.731, allocations: 15.42 kB / 1.091 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.731, allocations: 0 / 1.091 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.005042/0.7361, allocations: 1.836 MB / 1.092 GB, free: 11.48 MB / 0.8419 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=400 -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