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.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.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.005344/0.005344, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001213/0.001213, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.05 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3066, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003105/0.3098, allocations: 1.505 MB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3113, allocations: 0.761 MB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.3114, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.3115, allocations: 7.875 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3116, allocations: 19.86 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.3124, allocations: 119.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3125, allocations: 87.69 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3127, allocations: 23.97 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3128, allocations: 31.86 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.3129, allocations: 43.81 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3129, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.3132, allocations: 99.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3132, allocations: 19.92 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.3133, allocations: 27.86 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3136, allocations: 154.4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3136, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3136, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3136, allocations: 8 kB / 1.09 GB, free: 15.08 MB / 0.8575 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.0008748/0.3145, allocations: 455.5 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.3146, allocations: 12.03 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.3146, allocations: 34.69 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.3147, allocations: 16.83 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3149, allocations: 168.8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3149, allocations: 8.375 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3149, allocations: 4.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3151, allocations: 85.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3151, allocations: 3.938 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3152, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3152, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3153, allocations: 43.97 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.316, allocations: 316.6 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3162, allocations: 74.52 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.3162, allocations: 32.84 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3163, allocations: 4.156 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.3166, allocations: 95.33 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3166, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004211/0.317, allocations: 157.5 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.3171, allocations: 55.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3172, allocations: 128.3 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3172, allocations: 29.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.3173, allocations: 96.27 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3174, allocations: 19.72 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.3174, allocations: 33.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3176, allocations: 330.7 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.3177, allocations: 27.98 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3178, allocations: 69.12 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.318, allocations: 101.1 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.318, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002685/0.3183, allocations: 133.8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3183, allocations: 4 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3183, allocations: 128 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3183, allocations: 8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3185, allocations: 23.86 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3185, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3186, allocations: 15.92 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3186, allocations: 8 kB / 1.093 GB, free: 12.26 MB / 0.8575 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.0001252/0.3188, allocations: 119.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3188, allocations: 11.89 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.3192, allocations: 157.8 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3192, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3192, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3192, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.3199, allocations: 430.2 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3199, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.32, allocations: 11.98 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.32, allocations: 7.938 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.32, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.32, allocations: 3.938 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.32, allocations: 4 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3204, allocations: 227.3 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3204, allocations: 85.02 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3205, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3206, allocations: 15.92 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3207, allocations: 15.98 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3207, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.469e-05/0.3208, allocations: 98.27 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3208, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003637/0.3212, allocations: 43.98 kB / 1.094 GB, free: 10.94 MB / 0.8575 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.001057/0.3222, allocations: 0.8224 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3225, allocations: 83.83 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3225, allocations: 4.25 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3226, allocations: 51.92 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3229, allocations: 15.92 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3248, allocations: 1.589 MB / 1.096 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3252, allocations: 0.7006 MB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.3253, allocations: 8.438 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3254, allocations: 31.42 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3254, allocations: 0 / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3494, allocations: 3.095 MB / 1.1 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.637, allocations: 7.125 kB / 1.1 GB, free: 4.504 MB / 0.8575 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