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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001654/0.001654, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.16 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2698, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002696/0.2725, allocations: 1.509 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2738, allocations: 0.7516 MB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2739, allocations: 3.938 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.2739, allocations: 7.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.274, allocations: 15.86 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.2746, allocations: 127.6 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2747, allocations: 95.69 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.2748, allocations: 12 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.2749, allocations: 43.83 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.275, allocations: 39.84 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.275, allocations: 12 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2752, allocations: 95.91 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.2753, allocations: 27.89 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.2753, allocations: 43.8 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.2756, allocations: 151.5 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2756, allocations: 0 / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2756, allocations: 0 / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2756, allocations: 0 / 1.03 GB, free: 15.15 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.0005966/0.2762, allocations: 454.6 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2763, allocations: 16.02 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2763, allocations: 8.844 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2764, allocations: 173 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.2764, allocations: 8.375 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2765, allocations: 4.375 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2767, allocations: 93.88 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2767, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2767, allocations: 7.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2767, allocations: 7.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2769, allocations: 43.97 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.2774, allocations: 332.5 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2775, allocations: 62.56 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2777, allocations: 48.83 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2777, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.2779, allocations: 95.39 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.2779, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004442/0.2783, allocations: 181.5 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2784, allocations: 55.41 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.2785, allocations: 137.6 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2785, allocations: 29.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.2785, allocations: 92.44 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2786, allocations: 23.78 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.2786, allocations: 33.64 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2787, allocations: 326.8 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.2788, allocations: 27.98 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.2789, allocations: 70 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2791, allocations: 113.9 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2791, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00024/0.2793, allocations: 137.4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2794, allocations: 8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2794, allocations: 160 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2794, allocations: 8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.2795, allocations: 15.92 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2795, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.2796, allocations: 7.906 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2796, allocations: 12.38 kB / 1.032 GB, free: 12.28 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.202e-05/0.2797, allocations: 125.7 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.2797, allocations: 7.906 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2798, allocations: 16.38 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2798, allocations: 7.875 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2798, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2798, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.2803, allocations: 430.4 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2803, allocations: 7.922 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.2803, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2804, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2804, allocations: 3.984 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2804, allocations: 8 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2804, allocations: 3.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.2807, allocations: 239.3 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2808, allocations: 89 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2808, allocations: 4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.2809, allocations: 4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.2809, allocations: 15.92 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.281, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.281, allocations: 103.3 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.281, allocations: 0 / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002852/0.2813, allocations: 43.98 kB / 1.033 GB, free: 11.09 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.0002821/0.2816, allocations: 180 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2818, allocations: 95.83 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2819, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.282, allocations: 51.91 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.2822, allocations: 11.98 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.2826, allocations: 196 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2828, allocations: 0.6924 MB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.2829, allocations: 4 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2829, allocations: 11.44 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2829, allocations: 0 / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of Templates: time 0.003939/0.2868, allocations: 1.703 MB / 1.036 GB, free: 8.125 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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