Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, 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.001689/0.001689, allocations: 194.7 kB / 16.25 MB, free: 6.633 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.547/2.547, allocations: 469.8 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.84 kB / 0.9082 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2398, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00249/0.2423, allocations: 1.562 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2434, allocations: 0.7556 MB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.2435, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.2435, allocations: 3.984 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.2436, allocations: 15.86 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.244, allocations: 107.8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2441, allocations: 91.7 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.2442, allocations: 8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.2443, allocations: 43.83 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.2444, allocations: 35.84 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2444, allocations: 8 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2445, allocations: 91.91 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2446, allocations: 19.92 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.2446, allocations: 47.83 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.2448, allocations: 147.8 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2449, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2449, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2449, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 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.0006516/0.2455, allocations: 462.6 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.2456, allocations: 8.031 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.2456, allocations: 34.75 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2457, allocations: 12.84 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2458, allocations: 176.2 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2458, allocations: 8.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.2458, allocations: 4.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.246, allocations: 77.72 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.246, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.246, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.246, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.2462, allocations: 47.95 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2467, allocations: 328.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2468, allocations: 62.55 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.2469, allocations: 36.83 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2469, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.2471, allocations: 103.3 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2471, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003853/0.2475, allocations: 157.5 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2476, allocations: 51.41 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2477, allocations: 135.1 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2477, allocations: 29.7 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.2478, allocations: 92.38 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2478, allocations: 23.7 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.2478, allocations: 33.7 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.248, allocations: 318.8 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.2481, allocations: 31.97 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2482, allocations: 66.77 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2483, allocations: 101 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2483, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002359/0.2486, allocations: 129.4 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2486, allocations: 19.86 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2486, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2486, allocations: 4 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.2487, allocations: 11.98 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2487, allocations: 4 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.2488, allocations: 11.94 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2489, allocations: 12.11 kB / 1.069 GB, free: 8.773 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 9.424e-05/0.249, allocations: 125.7 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.249, allocations: 7.906 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.2493, allocations: 142 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2493, allocations: 4 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2493, allocations: 4 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.2499, allocations: 438.7 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2499, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.2499, allocations: 8 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2499, allocations: 0 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.25, allocations: 7.922 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.25, allocations: 11.88 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.25, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.2503, allocations: 231.5 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2503, allocations: 92.94 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2504, allocations: 0 / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2505, allocations: 11.92 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.2505, allocations: 11.98 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.2505, allocations: 4 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.2506, allocations: 99.27 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 4 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002665/0.2509, allocations: 40 kB / 1.07 GB, free: 7.449 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.0007734/0.2517, allocations: 0.821 MB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.2519, allocations: 92.05 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2519, allocations: 4 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.252, allocations: 47.91 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2523, allocations: 21.92 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2539, allocations: 1.612 MB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2542, allocations: 0.6961 MB / 1.073 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.2543, allocations: 12.42 kB / 1.073 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.2543, allocations: 31.42 kB / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2543, allocations: 0 / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.907/2.161, allocations: 2.908 MB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/2.162, allocations: 263.3 kB / 1.076 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/6.598, allocations: 0 / 1.076 GB, free: 0.9453 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches