Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_9_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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001411, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4933, allocations: 140.4 MB / 0.949 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002147/0.4955, allocations: 1.573 MB / 0.9506 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.4965, allocations: 0.7647 MB / 0.9513 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.4965, allocations: 1.188 kB / 0.9513 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.4966, allocations: 3.938 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.4967, allocations: 10.31 kB / 0.9513 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.497, allocations: 102.5 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.4971, allocations: 81.28 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.4972, allocations: 13.48 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.4973, allocations: 42.38 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.4974, allocations: 40.02 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.4974, allocations: 3.156 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4975, allocations: 95.25 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.4976, allocations: 10.42 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.4976, allocations: 34.2 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.4978, allocations: 145.2 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.4978, allocations: 1.312 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4978, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.095e-06/0.4978, allocations: 0 / 0.9519 GB, free: 7.246 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.0005309/0.4983, allocations: 469.6 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4984, allocations: 14.06 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.4984, allocations: 32.06 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.4984, allocations: 8.875 kB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.238e-05/0.4985, allocations: 181.1 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4985, allocations: 7.516 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4986, allocations: 3.969 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4987, allocations: 81.17 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.4987, allocations: 0 / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4987, allocations: 5.312 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4988, allocations: 0 / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.4989, allocations: 43.16 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.4993, allocations: 321.5 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4994, allocations: 67.86 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.4995, allocations: 32.53 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4995, allocations: 5.391 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4997, allocations: 91.3 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4997, allocations: 1.469 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003345/0.5, allocations: 161.5 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.5001, allocations: 57.56 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.5001, allocations: 124.4 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.5001, allocations: 31.92 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.5002, allocations: 86.44 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.5002, allocations: 23.41 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.5002, allocations: 34.94 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.5003, allocations: 321.4 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.5004, allocations: 31.05 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.5004, allocations: 71.97 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.5006, allocations: 104.9 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5006, allocations: 1.062 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001991/0.5008, allocations: 123.2 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5008, allocations: 5.812 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5008, allocations: 5.547 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5008, allocations: 2.562 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.5009, allocations: 19.52 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.501, allocations: 5.5 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.5011, allocations: 18.38 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5011, allocations: 12.14 kB / 0.9544 GB, free: 4.879 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 5.942e-05/0.5011, allocations: 125.1 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.5012, allocations: 8.625 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.5014, allocations: 150.4 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5015, allocations: 1.281 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5015, allocations: 0 / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5015, allocations: 4.953 kB / 0.9546 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.5019, allocations: 429.8 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5019, allocations: 1.469 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.502, allocations: 10.66 kB / 0.9551 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.502, allocations: 5.125 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.502, allocations: 5.141 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.502, allocations: 5.094 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.502, allocations: 0 / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.5022, allocations: 228.8 kB / 0.9553 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.5023, allocations: 92.56 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5023, allocations: 1.156 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5024, allocations: 20.36 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.5025, allocations: 9.328 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5025, allocations: 3.469 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.5025, allocations: 103.6 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5025, allocations: 0 / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002689/0.5028, allocations: 39.44 kB / 0.9556 GB, free: 3.84 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.0005333/0.5033, allocations: 0.8221 MB / 0.9564 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5035, allocations: 88.89 kB / 0.9564 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5035, allocations: 1.406 kB / 0.9564 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.5036, allocations: 51.62 kB / 0.9565 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5039, allocations: 17.72 kB / 0.9565 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.5051, allocations: 1.594 MB / 0.9581 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.5051, allocations: 0.6929 MB / 0.9587 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.5052, allocations: 9.703 kB / 0.9588 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.5053, allocations: 25.48 kB / 0.9588 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.5053, allocations: 0 / 0.9588 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/1.98, allocations: 2.813 MB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.98, allocations: 264.7 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/3.626, allocations: 2.625 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches