Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.007792/0.007792, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001738/0.001738, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 65.59 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002681/0.3078, allocations: 1.466 MB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000771/0.3086, allocations: 456.3 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.3087, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3087, allocations: 3.938 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.3088, allocations: 11.91 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.309, allocations: 19.92 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3091, allocations: 51.78 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3093, allocations: 16 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3094, allocations: 23.91 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.3095, allocations: 23.92 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3095, allocations: 7.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.3095, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3095, allocations: 15.92 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3096, allocations: 15.94 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3097, allocations: 56.02 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3097, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3097, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.3097, allocations: 4 kB / 1.09 GB, free: 15.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000517/0.3103, allocations: 406.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3103, allocations: 8.031 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.3104, allocations: 34.75 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3104, allocations: 8.922 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3105, allocations: 172.3 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3106, allocations: 384 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3106, allocations: 4.375 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3108, allocations: 73.67 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3108, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3108, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3108, allocations: 3.984 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3109, allocations: 35.97 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3114, allocations: 280.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3116, allocations: 42.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.3117, allocations: 28.94 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3117, allocations: 3.984 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.3119, allocations: 67.39 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3119, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003798/0.3123, allocations: 109.6 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3124, allocations: 59.34 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.3125, allocations: 113.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3125, allocations: 29.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.3125, allocations: 92.12 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3126, allocations: 11.94 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.3126, allocations: 21.72 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3127, allocations: 322.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.3128, allocations: 19.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.3129, allocations: 44.28 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.313, allocations: 68.22 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.313, allocations: 256 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001894/0.3132, allocations: 101.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3132, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3133, allocations: 8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3133, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.3134, allocations: 8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3134, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.3134, allocations: 11.92 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3135, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 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.612e-05/0.3135, allocations: 118.2 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.3136, allocations: 15.92 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.3136, allocations: 7.969 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3136, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3136, allocations: 3.984 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3136, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.314, allocations: 346.5 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.314, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.3141, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3141, allocations: 8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3141, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3141, allocations: 3.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3141, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3144, allocations: 183.5 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.3144, allocations: 85.06 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3144, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.3145, allocations: 15.88 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3146, allocations: 3.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3146, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.3146, allocations: 95.2 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3146, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002381/0.3149, allocations: 8 kB / 1.093 GB, free: 12.46 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: 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.0005253/0.3154, allocations: 0.7209 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3156, allocations: 55.89 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3157, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.3158, allocations: 36.23 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.316, allocations: 7.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3174, allocations: 1.398 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.3177, allocations: 0.6808 MB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3178, allocations: 11.94 kB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.3178, allocations: 23.36 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3178, allocations: 4 kB / 1.095 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.3374, allocations: 1.619 MB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.72, allocations: 15.38 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_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