Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 98.88 kB / 16.02 MB, free: 76 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.00104/0.00104, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 443.2 MB / 0.7181 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003279, allocations: 10.81 kB / 0.8801 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2702, allocations: 155.1 MB / 1.032 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001785/0.2721, allocations: 1.222 MB / 1.033 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2734, allocations: 0.7522 MB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.2735, allocations: 0 / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.2735, allocations: 7.922 kB / 1.034 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.2736, allocations: 3.938 kB / 1.034 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.2741, allocations: 115.7 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2742, allocations: 79.77 kB / 1.034 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.2743, allocations: 19.98 kB / 1.034 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2745, allocations: 39.84 kB / 1.034 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.2745, allocations: 35.83 kB / 1.034 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2746, allocations: 4 kB / 1.034 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2748, allocations: 91.84 kB / 1.034 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.2748, allocations: 19.97 kB / 1.034 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.2749, allocations: 61.5 kB / 1.034 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.2751, allocations: 104 kB / 1.034 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2751, allocations: 4 kB / 1.034 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2751, allocations: 8 kB / 1.034 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2751, allocations: 0 / 1.034 GB, free: 2.191 MB / 0.7794 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.000563/0.2757, allocations: 446.6 kB / 1.035 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2757, allocations: 8.031 kB / 1.035 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2758, allocations: 8.844 kB / 1.035 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2759, allocations: 176.2 kB / 1.035 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.2759, allocations: 8.375 kB / 1.035 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.276, allocations: 4.375 kB / 1.035 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2762, allocations: 97.94 kB / 1.035 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2762, allocations: 0 / 1.035 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2762, allocations: 0 / 1.035 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2762, allocations: 4 kB / 1.035 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2764, allocations: 55.89 kB / 1.035 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.2769, allocations: 336.7 kB / 1.035 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.2771, allocations: 66.56 kB / 1.035 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2772, allocations: 48.92 kB / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2773, allocations: 7.938 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.2775, allocations: 91.36 kB / 1.035 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.2775, allocations: 0 / 1.035 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004973/0.278, allocations: 197.5 kB / 1.036 GB, free: 496 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2781, allocations: 59.41 kB / 1.036 GB, free: 424 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.2782, allocations: 127 kB / 1.036 GB, free: 288 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2782, allocations: 33.7 kB / 1.036 GB, free: 248 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.2783, allocations: 84.38 kB / 1.036 GB, free: 156 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2783, allocations: 23.73 kB / 1.036 GB, free: 132 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2783, allocations: 21.72 kB / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2785, allocations: 330.8 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.2786, allocations: 28.36 kB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2787, allocations: 78.08 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.2789, allocations: 121.9 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2789, allocations: 0 / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002727/0.2792, allocations: 149.2 kB / 1.037 GB, free: 15.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2792, allocations: 4 kB / 1.037 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2792, allocations: 4 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2792, allocations: 160 / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.2793, allocations: 23.92 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2793, allocations: 4 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.2794, allocations: 12 kB / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2794, allocations: 4 kB / 1.037 GB, free: 15.3 MB / 0.795 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 0.0001056/0.2796, allocations: 133 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2796, allocations: 7.891 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2796, allocations: 16.38 kB / 1.037 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2796, allocations: 0 / 1.037 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.2796, allocations: 0 / 1.037 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2796, allocations: 0 / 1.037 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.2802, allocations: 446.3 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2802, allocations: 0 / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.2803, allocations: 11.98 kB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2803, allocations: 0 / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2803, allocations: 0 / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2803, allocations: 4 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.2803, allocations: 11.86 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.2807, allocations: 247.6 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.2807, allocations: 89 kB / 1.038 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2808, allocations: 4 kB / 1.038 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2809, allocations: 11.92 kB / 1.038 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.2809, allocations: 7.922 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2809, allocations: 8 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.281, allocations: 98.39 kB / 1.038 GB, free: 14.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.281, allocations: 192 / 1.038 GB, free: 14.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003323/0.2813, allocations: 43.98 kB / 1.038 GB, free: 14.09 MB / 0.795 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.0003546/0.2817, allocations: 165.3 kB / 1.038 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.282, allocations: 104 kB / 1.038 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.282, allocations: 3.938 kB / 1.038 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.2821, allocations: 43.98 kB / 1.038 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2824, allocations: 19.92 kB / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.2829, allocations: 263.9 kB / 1.038 GB, free: 13.47 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2832, allocations: 0.6887 MB / 1.039 GB, free: 12.76 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.2833, allocations: 11.44 kB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.2833, allocations: 0 / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of Templates: time 0.003864/0.2871, allocations: 1.763 MB / 1.041 GB, free: 10.99 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches