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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001259/0.001259, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.412/2.412, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.3 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2452, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002458/0.2477, allocations: 1.474 MB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.2484, allocations: 458.7 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.2485, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2485, allocations: 7.938 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.2486, allocations: 15.86 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2487, allocations: 27.91 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.2488, allocations: 51.8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.2489, allocations: 7.984 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.249, allocations: 27.92 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.2491, allocations: 15.92 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2491, allocations: 8 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.2491, allocations: 4 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.2491, allocations: 19.91 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.2492, allocations: 15.94 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.866e-05/0.2493, allocations: 48.03 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2493, allocations: 0 / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2493, allocations: 0 / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2493, allocations: 0 / 1.055 GB, free: 6.082 MB / 0.8106 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.0004272/0.2497, allocations: 406.8 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2498, allocations: 16.62 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.2498, allocations: 30.75 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.2498, allocations: 8.844 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.25, allocations: 176.2 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.25, allocations: 4.375 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.25, allocations: 8.375 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2502, allocations: 61.8 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2502, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2502, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2502, allocations: 4 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.2503, allocations: 35.91 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2507, allocations: 284.8 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.2508, allocations: 34.56 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.2509, allocations: 28.94 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2509, allocations: 4 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.2511, allocations: 71.38 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.2511, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003228/0.2514, allocations: 117.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2514, allocations: 51.41 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.2515, allocations: 113.8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2515, allocations: 25.7 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.2516, allocations: 92.12 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.2516, allocations: 11.75 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.2516, allocations: 25.72 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.2517, allocations: 318.8 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.2518, allocations: 23.98 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.2519, allocations: 48.22 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.252, allocations: 72.22 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.252, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.2522, allocations: 81.61 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2522, allocations: 7.984 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2522, allocations: 160 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2522, allocations: 8 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.2523, allocations: 11.94 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2523, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.2524, allocations: 15.89 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2524, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 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 7.311e-05/0.2525, allocations: 121.7 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.2525, allocations: 384 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.2525, allocations: 7.969 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2525, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2525, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2525, allocations: 3.938 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.2529, allocations: 350.6 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2529, allocations: 8.047 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.2529, allocations: 4 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2529, allocations: 0 / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2529, allocations: 4 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2529, allocations: 7.938 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.253, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2532, allocations: 183.5 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.2532, allocations: 85 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2532, allocations: 7.984 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.2533, allocations: 7.938 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.2534, allocations: 7.984 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2534, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.2534, allocations: 87.28 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2534, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002192/0.2536, allocations: 19.92 kB / 1.058 GB, free: 2.648 MB / 0.8106 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.0004327/0.2541, allocations: 0.7202 MB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.2543, allocations: 51.91 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2543, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.2544, allocations: 27.97 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.2546, allocations: 17.5 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2558, allocations: 1.375 MB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.256, allocations: 0.6885 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.256, allocations: 480 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2561, allocations: 23.44 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2561, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.633/1.889, allocations: 1.601 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/9.865, allocations: 4.5 kB / 1.062 GB, free: 14.12 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches