Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.007021/0.007021, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001626/0.001626, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.403/2.403, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.89 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8052, allocations: 151.6 MB / 1.166 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003297/0.8086, allocations: 1.466 MB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.8097, allocations: 458.9 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.8098, allocations: 0 / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.8099, allocations: 3.938 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.81, allocations: 11.91 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.8103, allocations: 19.92 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.8104, allocations: 51.78 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8106, allocations: 16 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.8107, allocations: 27.91 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.8108, allocations: 23.86 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.8108, allocations: 4 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.8108, allocations: 4 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.8108, allocations: 7.984 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.8109, allocations: 23.88 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.811, allocations: 51.45 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.811, allocations: 4 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.811, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.8111, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 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.0005899/0.8117, allocations: 410.7 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8117, allocations: 8.922 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.8118, allocations: 38.73 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.8118, allocations: 8.828 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8119, allocations: 172.3 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.812, allocations: 384 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.812, allocations: 8.375 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8122, allocations: 65.73 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8122, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8122, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8122, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8124, allocations: 31.97 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.8128, allocations: 284.8 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.8129, allocations: 42.5 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.813, allocations: 32.92 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.8131, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.8133, allocations: 71.39 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.8133, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.000387/0.8137, allocations: 113.5 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8138, allocations: 51.41 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.8139, allocations: 113.8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.8139, allocations: 29.7 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.814, allocations: 92.08 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.814, allocations: 15.95 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.814, allocations: 21.66 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8142, allocations: 326.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.8143, allocations: 15.97 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.8144, allocations: 48.28 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.8145, allocations: 68.22 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8145, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002122/0.8147, allocations: 101.5 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8148, allocations: 8.375 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8148, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8148, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.8149, allocations: 8 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.8149, allocations: 11.86 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.815, allocations: 4 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.815, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 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.8151, allocations: 125.9 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.8151, allocations: 7.953 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.8151, allocations: 7.969 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8152, allocations: 3.984 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8152, allocations: 3.984 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8152, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.8156, allocations: 342.5 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8156, allocations: 4 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.8157, allocations: 4 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8157, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.8157, allocations: 4 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8157, allocations: 3.938 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8157, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.816, allocations: 191.8 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.816, allocations: 81.11 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.816, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.8161, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.8162, allocations: 15.92 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.8162, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.8162, allocations: 91.27 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8162, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002345/0.8165, allocations: 8 kB / 1.171 GB, free: 14.25 MB / 0.9044 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.0005172/0.817, allocations: 0.7202 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.8172, allocations: 56.08 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8172, allocations: 4.406 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.8173, allocations: 27.92 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.8176, allocations: 15.88 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.819, allocations: 1.389 MB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.8193, allocations: 0.6884 MB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.8193, allocations: 7.984 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.8194, allocations: 19.44 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.8194, allocations: 0 / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.838, allocations: 1.629 MB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.428, allocations: 13.98 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_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