Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_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.001238/0.001238, 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.001137/0.001137, allocations: 196.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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 67.06 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002357/0.2516, allocations: 1.495 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2527, allocations: 0.7574 MB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.2527, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2528, allocations: 7.875 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.2528, allocations: 19.78 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2533, allocations: 131.6 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2534, allocations: 87.78 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.2534, allocations: 11.98 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.2535, allocations: 39.84 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.2536, allocations: 47.83 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2536, allocations: 8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2538, allocations: 99.84 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.2538, allocations: 27.89 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.2539, allocations: 35.86 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2541, allocations: 151.9 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2541, allocations: 4 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2541, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2541, allocations: 3.938 kB / 1.067 GB, free: 11.27 MB / 0.8262 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.0005361/0.2547, allocations: 454.5 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.2547, allocations: 8.031 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2547, allocations: 34.73 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.2548, allocations: 20.84 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2549, allocations: 177.3 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2549, allocations: 8.359 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.255, allocations: 8.375 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2552, allocations: 81.77 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2552, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2552, allocations: 3.984 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2552, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.2553, allocations: 51.91 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2558, allocations: 316.7 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.256, allocations: 70.55 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2561, allocations: 44.88 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2561, allocations: 4 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.2563, allocations: 91.36 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2563, allocations: 3.938 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004305/0.2568, allocations: 185.5 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2568, allocations: 63.55 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.2569, allocations: 134.4 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2569, allocations: 33.7 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.257, allocations: 88.36 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.257, allocations: 19.75 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.2571, allocations: 37.7 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2572, allocations: 322.8 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.2573, allocations: 23.98 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.2574, allocations: 87.75 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2576, allocations: 109.9 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2576, allocations: 0 / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002464/0.2579, allocations: 137.4 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2579, allocations: 4 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2579, allocations: 4 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.2579, allocations: 160 / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.258, allocations: 19.98 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.258, allocations: 4 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.2581, allocations: 15.89 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2581, allocations: 4 kB / 1.069 GB, free: 8.359 MB / 0.8262 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.107e-05/0.2582, allocations: 129.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2582, allocations: 7.906 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.2582, allocations: 8.375 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2582, allocations: 8 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2583, allocations: 3.984 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2583, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.2588, allocations: 430.8 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2588, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.2588, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2588, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2589, allocations: 4.078 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2589, allocations: 11.88 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2589, allocations: 3.938 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.2592, allocations: 243.4 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.2593, allocations: 88.95 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2593, allocations: 4 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.2594, allocations: 11.98 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2594, allocations: 3.938 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2594, allocations: 11.98 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.2595, allocations: 101 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2595, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002733/0.2598, allocations: 40 kB / 1.071 GB, free: 7.168 MB / 0.8262 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.0008098/0.2606, allocations: 0.8494 MB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.2609, allocations: 99.84 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2609, allocations: 0 / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.261, allocations: 52.28 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2612, allocations: 19.91 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2628, allocations: 1.574 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2631, allocations: 0.6924 MB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.2631, allocations: 7.984 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.2632, allocations: 23.44 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2632, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8701/1.133, allocations: 2.932 MB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.81, allocations: 14.34 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches