Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001555/0.001555, allocations: 108.6 kB / 15.73 MB, free: 72 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.001856/0.001856, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 59.84 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002715/0.3301, allocations: 1.475 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.3309, allocations: 442.9 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.331, allocations: 0 / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.3311, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.3312, allocations: 19.84 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3314, allocations: 23.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3315, allocations: 59.78 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.3316, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.3317, allocations: 31.91 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.3318, allocations: 15.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3318, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3318, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.3318, allocations: 11.98 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.3319, allocations: 19.88 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.332, allocations: 59.67 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.332, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.332, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.332, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004997/0.3325, allocations: 410.7 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3326, allocations: 12.03 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3326, allocations: 34.73 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.3327, allocations: 8.891 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3328, allocations: 164.3 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3328, allocations: 12.38 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3328, allocations: 4.375 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.333, allocations: 57.8 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.333, allocations: 3.938 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.333, allocations: 4 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3331, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3332, allocations: 31.97 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3336, allocations: 284.8 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3337, allocations: 34.56 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.3338, allocations: 28.92 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3339, allocations: 7.938 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3341, allocations: 75.39 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.3341, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003697/0.3345, allocations: 109.6 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3345, allocations: 59.33 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3346, allocations: 121.7 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3346, allocations: 25.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.3347, allocations: 100.1 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3347, allocations: 3.953 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3348, allocations: 25.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3349, allocations: 318.8 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.3349, allocations: 19.98 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.335, allocations: 48.28 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3352, allocations: 68.22 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3352, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002073/0.3354, allocations: 97.48 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3354, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3354, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3354, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.3355, allocations: 12 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3355, allocations: 3.984 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.3356, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3356, allocations: 8.156 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.946e-05/0.3357, allocations: 125.7 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.3358, allocations: 3.953 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3358, allocations: 11.97 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3358, allocations: 3.984 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3358, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3358, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3362, allocations: 338.5 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3363, allocations: 0 / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.3363, allocations: 7.938 kB / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3363, allocations: 384 / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3363, allocations: 4 kB / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3363, allocations: 4.25 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3363, allocations: 0 / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3366, allocations: 199.4 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3367, allocations: 81.09 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3368, allocations: 4 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3369, allocations: 7.938 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3369, allocations: 3.984 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3369, allocations: 7.938 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.337, allocations: 87.27 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 4 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.3372, allocations: 19.95 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005762/0.3378, allocations: 0.7243 MB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.338, allocations: 55.95 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.338, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/0.3381, allocations: 23.98 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3384, allocations: 14 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3398, allocations: 1.403 MB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3401, allocations: 0.6846 MB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3401, allocations: 11.98 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.3402, allocations: 11.44 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3402, allocations: 0 / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.3599, allocations: 1.635 MB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.962, allocations: 16.48 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:time,H.y,bli.blindState,H.amplitude,H.f,H.offset