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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004653/0.004653, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001367/0.001367, allocations: 202.9 kB / 16.68 MB, free: 5.969 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.507/2.507, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 67.88 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2574, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00218/0.2596, allocations: 1.462 MB / 1.243 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006082/0.2602, allocations: 446.9 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2603, allocations: 0 / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2603, allocations: 3.938 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.2603, allocations: 11.86 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.2605, allocations: 27.97 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.2606, allocations: 59.73 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.205e-05/0.2607, allocations: 7.984 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.2607, allocations: 27.91 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.2608, allocations: 19.92 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2608, allocations: 4 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2608, allocations: 4 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.2609, allocations: 11.92 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2609, allocations: 19.94 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.261, allocations: 55.73 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.261, allocations: 0 / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.261, allocations: 0 / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.261, allocations: 0 / 1.244 GB, free: 7.691 MB / 0.9981 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.0004479/0.2615, allocations: 412.9 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2615, allocations: 8.031 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.2616, allocations: 34.75 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.2616, allocations: 8.828 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2617, allocations: 176.3 kB / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2617, allocations: 4.375 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2617, allocations: 8.375 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2619, allocations: 57.8 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2619, allocations: 0 / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2619, allocations: 4 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2619, allocations: 4 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.262, allocations: 27.97 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.2624, allocations: 288.8 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2625, allocations: 38.56 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.2626, allocations: 24.94 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2626, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2628, allocations: 83.25 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2628, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003157/0.2631, allocations: 109.6 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2632, allocations: 51.41 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.2633, allocations: 117.8 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2633, allocations: 25.7 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2633, allocations: 92.12 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.2633, allocations: 15.89 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2634, allocations: 17.72 kB / 1.245 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2635, allocations: 326.8 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.2636, allocations: 15.98 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.2637, allocations: 52.2 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2638, allocations: 72.22 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2638, allocations: 0 / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.264, allocations: 93.55 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.264, allocations: 8 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.264, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.264, allocations: 3.938 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.2641, allocations: 8.625 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2641, allocations: 4 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.2642, allocations: 11.98 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2642, allocations: 8.156 kB / 1.246 GB, free: 5.25 MB / 0.9981 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.653e-05/0.2643, allocations: 126.2 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2643, allocations: 7.953 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.2643, allocations: 3.969 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2643, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2643, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2643, allocations: 7.984 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.2647, allocations: 350.4 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2647, allocations: 0 / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.2648, allocations: 4 kB / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2648, allocations: 0 / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2648, allocations: 0 / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2648, allocations: 3.938 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2648, allocations: 0 / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.265, allocations: 199.3 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2651, allocations: 81.09 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2651, allocations: 0 / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.2652, allocations: 7.938 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2652, allocations: 7.984 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2652, allocations: 0 / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.2653, allocations: 91.27 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2653, allocations: 0 / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002073/0.2655, allocations: 12 kB / 1.247 GB, free: 4.266 MB / 0.9981 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.0004967/0.266, allocations: 0.7202 MB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.2662, allocations: 60.22 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2662, allocations: 0 / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.2663, allocations: 31.97 kB / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2665, allocations: 8.219 kB / 1.248 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2678, allocations: 1.41 MB / 1.249 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2681, allocations: 0.6807 MB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.2681, allocations: 12 kB / 1.25 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.2682, allocations: 19.42 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2682, allocations: 0 / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.518/3.786, allocations: 1.61 MB / 1.251 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/15.15, allocations: 5.938 kB / 1.251 GB, free: 13.99 MB / 0.9981 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=400 --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