Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001754/0.001754, allocations: 188.3 kB / 16.13 MB, free: 6.645 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.16 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2563, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002602/0.2589, allocations: 1.579 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2603, allocations: 0.7479 MB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.2603, allocations: 3.938 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.2604, allocations: 3.984 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.2605, allocations: 19.86 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.261, allocations: 103.8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2611, allocations: 87.77 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.2612, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.2613, allocations: 47.77 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.2613, allocations: 43.83 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2614, allocations: 8 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.2615, allocations: 95.84 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.2616, allocations: 11.98 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.2616, allocations: 39.78 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2618, allocations: 147.9 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2619, allocations: 4 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2619, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2619, allocations: 0 / 1.055 GB, free: 5.273 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005621/0.2624, allocations: 462.6 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2625, allocations: 15.97 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.2625, allocations: 34.75 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2626, allocations: 12.84 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2627, allocations: 176.2 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2627, allocations: 4.375 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2627, allocations: 8.375 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.2629, allocations: 85.75 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.263, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.263, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.263, allocations: 8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.2631, allocations: 47.91 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.2637, allocations: 324.6 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.2638, allocations: 66.55 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2639, allocations: 48.83 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.264, allocations: 0 / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.2642, allocations: 95.39 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2642, allocations: 0 / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004617/0.2646, allocations: 189.4 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2647, allocations: 63.41 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.2648, allocations: 124.7 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2648, allocations: 33.7 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.2649, allocations: 88.28 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2649, allocations: 23.89 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.2649, allocations: 37.7 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.265, allocations: 318.8 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.2651, allocations: 31.97 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2652, allocations: 88.17 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2654, allocations: 105.9 kB / 1.057 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2654, allocations: 3.938 kB / 1.057 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002531/0.2657, allocations: 137.4 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2657, allocations: 5.25 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2657, allocations: 11.94 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2657, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.2658, allocations: 15.98 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2658, allocations: 4 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2659, allocations: 11.91 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2659, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 9.155e-05/0.266, allocations: 133.7 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.266, allocations: 15.89 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.2661, allocations: 4.375 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2661, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2661, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2661, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.2666, allocations: 430.4 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2666, allocations: 0 / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2666, allocations: 7.984 kB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2667, allocations: 4 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2667, allocations: 480 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2667, allocations: 0 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2667, allocations: 3.938 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.267, allocations: 255.3 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2671, allocations: 81.02 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2671, allocations: 7.984 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.2672, allocations: 8 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2672, allocations: 11.86 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2673, allocations: 8 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.2673, allocations: 95.27 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2673, allocations: 0 / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003138/0.2676, allocations: 43.98 kB / 1.059 GB, free: 1.164 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008252/0.2685, allocations: 0.8537 MB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2687, allocations: 87.89 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2687, allocations: 4.312 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2688, allocations: 51.91 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2691, allocations: 15.92 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.2707, allocations: 1.597 MB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.271, allocations: 0.6887 MB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.271, allocations: 4 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.271, allocations: 27.42 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2711, allocations: 0 / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/0.3952, allocations: 2.729 MB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.3956, allocations: 272.1 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.267, allocations: 1.25 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches