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.002183/0.002183, allocations: 108 kB / 15.61 MB, free: 152 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.002113/0.002113, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.445/2.445, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 68.31 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2339, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002484/0.2364, allocations: 1.506 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2376, allocations: 0.7595 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.2377, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2377, allocations: 7.875 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.2378, allocations: 23.84 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.2383, allocations: 127.6 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2384, allocations: 75.72 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.2385, allocations: 15.98 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.2386, allocations: 39.84 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.2386, allocations: 39.84 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2387, allocations: 8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2389, allocations: 95.84 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.2389, allocations: 23.91 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.2389, allocations: 35.84 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.2392, allocations: 143.9 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2392, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2392, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2392, allocations: 0 / 1.067 GB, free: 11.3 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.0006645/0.2399, allocations: 458.6 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2399, allocations: 15.97 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.2399, allocations: 34.75 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.24, allocations: 8.844 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2401, allocations: 184.2 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2401, allocations: 4.375 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2402, allocations: 8.375 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2403, allocations: 73.77 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2403, allocations: 3.984 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2404, allocations: 8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2404, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.2405, allocations: 39.91 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.241, allocations: 328.6 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2411, allocations: 66.55 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.2412, allocations: 40.88 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2412, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.2414, allocations: 87.36 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2414, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003615/0.2418, allocations: 161.5 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2419, allocations: 55.41 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.242, allocations: 132.4 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.242, allocations: 29.7 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.242, allocations: 88.38 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2421, allocations: 24.08 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2421, allocations: 33.7 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2423, allocations: 322.8 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.2424, allocations: 27.98 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.2425, allocations: 73.02 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.2426, allocations: 101.1 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2426, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000224/0.2429, allocations: 133.4 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2429, allocations: 4 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2429, allocations: 0 / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2429, allocations: 4 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.243, allocations: 28.05 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.243, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.2431, allocations: 15.92 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2432, allocations: 4 kB / 1.069 GB, free: 8.465 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.255e-05/0.2432, allocations: 128 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.2433, allocations: 3.906 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.2436, allocations: 153.9 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2436, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2436, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2436, allocations: 4.078 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.2441, allocations: 434.4 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2441, allocations: 0 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.2442, allocations: 11.98 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2442, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2442, allocations: 12 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2442, allocations: 3.938 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2442, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.2445, allocations: 227.3 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.2446, allocations: 88.95 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2446, allocations: 4 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2447, allocations: 15.92 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2448, allocations: 11.98 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.2448, allocations: 12 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.2448, allocations: 96.77 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002708/0.2451, allocations: 43.98 kB / 1.071 GB, free: 7.137 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.0007475/0.2459, allocations: 0.8268 MB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2461, allocations: 83.89 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2461, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.2462, allocations: 52.16 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.2465, allocations: 23.92 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.248, allocations: 1.576 MB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2483, allocations: 0.7005 MB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2484, allocations: 8.438 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.2484, allocations: 23.42 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2484, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.764/7.013, allocations: 3.055 MB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/23.6, allocations: 3.031 kB / 1.077 GB, free: 0.7422 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