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.006405/0.006405, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001623/0.001623, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.671/2.671, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 64.12 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2735, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002604/0.2762, allocations: 1.515 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2774, allocations: 0.7479 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.2775, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2775, allocations: 11.81 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.2776, allocations: 7.875 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.2781, allocations: 131.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2782, allocations: 95.75 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.2783, allocations: 12 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.2784, allocations: 43.84 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.2785, allocations: 43.83 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2785, allocations: 8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2787, allocations: 99.84 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.2787, allocations: 19.97 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.2788, allocations: 35.8 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.279, allocations: 159.5 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.279, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.279, allocations: 3.938 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.279, allocations: 4 kB / 1.223 GB, free: 11.41 MB / 0.9825 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.0005863/0.2796, allocations: 466.3 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2797, allocations: 8.031 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.2797, allocations: 38.75 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2798, allocations: 12.84 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2799, allocations: 172.3 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2799, allocations: 4.375 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2799, allocations: 8.375 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2801, allocations: 89.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2802, allocations: 3.984 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2802, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2802, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.2803, allocations: 43.97 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.2808, allocations: 320.7 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.281, allocations: 74.58 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2811, allocations: 40.84 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2811, allocations: 0 / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.2813, allocations: 95.3 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2813, allocations: 8 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004531/0.2818, allocations: 181.5 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2819, allocations: 63.39 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.282, allocations: 125.7 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.282, allocations: 33.7 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.282, allocations: 92.36 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.2821, allocations: 19.8 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.2821, allocations: 41.7 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2823, allocations: 330.7 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.2823, allocations: 23.98 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2825, allocations: 80.38 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2827, allocations: 113.8 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2827, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000243/0.2829, allocations: 133.5 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2829, allocations: 6.031 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2829, allocations: 4 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.283, allocations: 3.984 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.283, allocations: 15.94 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2831, allocations: 4 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.2831, allocations: 15.94 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2832, allocations: 8 kB / 1.226 GB, free: 8.492 MB / 0.9825 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.184e-05/0.2833, allocations: 132.8 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.2833, allocations: 11.95 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.2833, allocations: 12.36 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2833, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2833, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2833, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.2839, allocations: 442.8 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2839, allocations: 96 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.2839, allocations: 7.938 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2839, allocations: 0 / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.284, allocations: 3.984 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.284, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.284, allocations: 7.938 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.2843, allocations: 247.4 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.2844, allocations: 89.06 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2844, allocations: 0 / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.2845, allocations: 7.984 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2845, allocations: 7.938 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2846, allocations: 7.984 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.2846, allocations: 95.27 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2846, allocations: 0 / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002847/0.2849, allocations: 47.86 kB / 1.227 GB, free: 7.289 MB / 0.9825 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.0008471/0.2858, allocations: 0.8442 MB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.286, allocations: 95.83 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.286, allocations: 0 / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2862, allocations: 47.98 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2864, allocations: 16.86 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2881, allocations: 1.598 MB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2883, allocations: 0.6924 MB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.2884, allocations: 7.984 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2884, allocations: 23.44 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.2884, allocations: 4 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.515/1.803, allocations: 2.982 MB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.68, allocations: 12.94 kB / 1.233 GB, free: 0.9844 MB / 0.9825 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