Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.001238/0.001238, allocations: 104 kB / 15.61 MB, free: 148 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.001196/0.001197, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6099, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002185/0.6121, allocations: 1.495 MB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.6131, allocations: 0.7591 MB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.6131, allocations: 1.531 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.6132, allocations: 3.938 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.6133, allocations: 21.52 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.6137, allocations: 123.4 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.17e-05/0.6138, allocations: 82.44 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.6139, allocations: 21.2 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.614, allocations: 35.17 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.6141, allocations: 44.11 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.6141, allocations: 6.594 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.6142, allocations: 97.83 kB / 0.9523 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.6143, allocations: 24.05 kB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.6143, allocations: 36.98 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.6145, allocations: 142.7 kB / 0.9525 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.6145, allocations: 0 / 0.9525 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6145, allocations: 0 / 0.9525 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6145, allocations: 0.9688 kB / 0.9525 GB, free: 7 MB / 0.7169 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.0006612/0.6152, allocations: 465.7 kB / 0.953 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.6153, allocations: 13.09 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.6153, allocations: 36.97 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.6153, allocations: 8.312 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.6155, allocations: 185.6 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.6155, allocations: 2.562 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6155, allocations: 11.84 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.6157, allocations: 73.52 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6157, allocations: 5.156 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6157, allocations: 4 kB / 0.9533 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6157, allocations: 5.188 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6159, allocations: 41.59 kB / 0.9534 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.6164, allocations: 322.4 kB / 0.9537 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6165, allocations: 59.42 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.6166, allocations: 37.16 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.6166, allocations: 5.062 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.6168, allocations: 92.52 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.6169, allocations: 0 / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004141/0.6173, allocations: 157.8 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6173, allocations: 53.94 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.6174, allocations: 131.1 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.6175, allocations: 31.98 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.6175, allocations: 94.8 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.6175, allocations: 27.08 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.6176, allocations: 31.3 kB / 0.9544 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.6177, allocations: 325.2 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.6177, allocations: 24.14 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.6178, allocations: 67.67 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.618, allocations: 104.8 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.618, allocations: 1.312 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002247/0.6183, allocations: 135.9 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6183, allocations: 5.188 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6183, allocations: 1.156 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6183, allocations: 2.125 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6184, allocations: 14.92 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.6184, allocations: 2.844 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.6185, allocations: 21.55 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.6186, allocations: 5.312 kB / 0.955 GB, free: 4.637 MB / 0.7169 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.448e-05/0.6187, allocations: 127.6 kB / 0.9552 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.6187, allocations: 8.281 kB / 0.9552 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.619, allocations: 149.5 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.619, allocations: 1.156 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.619, allocations: 4 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.619, allocations: 9.359 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.6195, allocations: 418.2 kB / 0.9557 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6195, allocations: 0 / 0.9557 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.6195, allocations: 16.23 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6195, allocations: 1.25 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6196, allocations: 5.25 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.6196, allocations: 7.938 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6196, allocations: 1.062 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.6198, allocations: 220.7 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.6198, allocations: 87.52 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.6199, allocations: 9.125 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.62, allocations: 12.77 kB / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.62, allocations: 8.703 kB / 0.9561 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.62, allocations: 12.22 kB / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.6201, allocations: 99.67 kB / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6201, allocations: 0 / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002745/0.6204, allocations: 43.39 kB / 0.9562 GB, free: 3.598 MB / 0.7169 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.0005587/0.6209, allocations: 0.8196 MB / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.6211, allocations: 98.11 kB / 0.9571 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6212, allocations: 0 / 0.9571 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.6213, allocations: 45.3 kB / 0.9572 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.6216, allocations: 26.22 kB / 0.9572 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.623, allocations: 1.574 MB / 0.9587 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.6231, allocations: 0.7007 MB / 0.9594 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.6232, allocations: 12.8 kB / 0.9594 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.6232, allocations: 34.2 kB / 0.9594 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6233, allocations: 0 / 0.9594 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.6419, allocations: 3.042 MB / 0.9624 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.624, allocations: 6.75 kB / 0.9624 GB, free: 14.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches