Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.006508/0.006508, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001586/0.001586, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.871/2.871, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 64.08 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002655/0.3236, allocations: 1.501 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3249, allocations: 0.7674 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.325, allocations: 0 / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.325, allocations: 11.81 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.3251, allocations: 15.86 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.3256, allocations: 119.6 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3258, allocations: 95.69 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.3259, allocations: 23.91 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.326, allocations: 31.92 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.326, allocations: 47.75 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3261, allocations: 8 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3263, allocations: 95.84 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.3263, allocations: 15.98 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.3264, allocations: 47.78 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3266, allocations: 151.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3266, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.336e-06/0.3267, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3267, allocations: 3.938 kB / 1.169 GB, free: 4.344 MB / 0.92 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.0007739/0.3274, allocations: 482.3 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3275, allocations: 8.031 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.3275, allocations: 34.75 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3276, allocations: 12.89 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3277, allocations: 188.2 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.3278, allocations: 34.27 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.3279, allocations: 4.375 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3281, allocations: 81.52 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3281, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3281, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3281, allocations: 4 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3283, allocations: 51.95 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.3288, allocations: 324.7 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3291, allocations: 66.58 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3292, allocations: 44.83 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3292, allocations: 4 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.3295, allocations: 95.44 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 3.386e-06/0.3295, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004805/0.33, allocations: 177.4 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3301, allocations: 55.41 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3302, allocations: 140.4 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3302, allocations: 29.7 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.3303, allocations: 96.33 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3303, allocations: 23.84 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.3304, allocations: 29.7 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3305, allocations: 330.8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3306, allocations: 23.98 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3308, allocations: 69.12 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.331, allocations: 109 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.331, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002978/0.3313, allocations: 137.6 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3313, allocations: 5.875 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3314, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3314, allocations: 4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3315, allocations: 19.92 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3315, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3316, allocations: 19.92 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3316, allocations: 4.094 kB / 1.172 GB, free: 1.398 MB / 0.92 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.0001145/0.3318, allocations: 143.7 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.3318, allocations: 11.91 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.3318, allocations: 8.719 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3318, allocations: 4 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.3325, allocations: 422.7 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3325, allocations: 8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.3326, allocations: 7.984 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3326, allocations: 96 / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3326, allocations: 7.938 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3326, allocations: 3.938 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3326, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.333, allocations: 235.4 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3331, allocations: 92.95 kB / 1.172 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3331, allocations: 4 kB / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3332, allocations: 15.86 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3333, allocations: 15.98 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3333, allocations: 3.984 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.3334, allocations: 99.27 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3334, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003122/0.3337, allocations: 39.94 kB / 1.173 GB, free: 204 kB / 0.92 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 (10): * Single equations (assignments): 7 * 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.0009467/0.3347, allocations: 0.8312 MB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.335, allocations: 91.88 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.335, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3352, allocations: 47.91 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3354, allocations: 12.19 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3374, allocations: 1.63 MB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3378, allocations: 0.6924 MB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.272e-05/0.3378, allocations: 12.66 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3379, allocations: 27.42 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.3379, allocations: 4 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3618, allocations: 3.105 MB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.471, allocations: 15.95 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[575]=3600.000000 File[1254]=2249.280000 Error: Could not read variable lig.occ in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " Variables in the reference:time,lig.ill,lig.occ,lig.pArriv,lig.on Variables in the result:time,lig.ill,lig.pArriv,ill.amplitude,ill.f,ill.offset