Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.081/2.081, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 183.9 kB / 393.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008201/0.0008203, allocations: 88.17 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 11.56 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5899, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001483/0.5914, allocations: 1.22 MB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.5925, allocations: 1.016 MB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.5926, allocations: 0.5312 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.5926, allocations: 5.406 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.5927, allocations: 9.969 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.5931, allocations: 105.1 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.5933, allocations: 91.61 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.5934, allocations: 20.23 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.5935, allocations: 28.69 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.5936, allocations: 42.2 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.5936, allocations: 6.781 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.5938, allocations: 87.58 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.5938, allocations: 16.61 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.5939, allocations: 66.98 kB / 1.044 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5941, allocations: 143.3 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5941, allocations: 1.938 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5941, allocations: 0.8438 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5941, allocations: 0 / 1.044 GB, free: 56.68 MB / 0.698 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.0004952/0.5946, allocations: 449 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5947, allocations: 10.09 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.5947, allocations: 10.06 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.556e-05/0.5948, allocations: 180.7 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.5949, allocations: 6.844 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.5949, allocations: 7.109 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.5951, allocations: 94.44 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5951, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5952, allocations: 0.6094 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5952, allocations: 5.531 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.5954, allocations: 56.02 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.5958, allocations: 323.9 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.596, allocations: 66.7 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.5961, allocations: 50.33 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.5962, allocations: 4.641 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.5964, allocations: 98.78 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5964, allocations: 3.938 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004561/0.5968, allocations: 191.7 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5969, allocations: 55.5 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.597, allocations: 134 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.597, allocations: 31.08 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.597, allocations: 89.7 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.5971, allocations: 21.45 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5971, allocations: 4.719 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.5971, allocations: 325 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.5972, allocations: 29.55 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.5974, allocations: 84.64 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5975, allocations: 111 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5975, allocations: 4 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002307/0.5978, allocations: 140 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5978, allocations: 3.656 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5978, allocations: 2.812 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5978, allocations: 3.172 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.5979, allocations: 21.34 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5979, allocations: 0 / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.598, allocations: 18.95 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.598, allocations: 7.766 kB / 1.046 GB, free: 54.56 MB / 0.698 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 7.53e-05/0.5981, allocations: 125.9 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.5981, allocations: 11.66 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.5982, allocations: 8.125 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5982, allocations: 9.062 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5982, allocations: 1.125 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5982, allocations: 0 / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.5987, allocations: 438.1 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5987, allocations: 0 / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.5987, allocations: 7.594 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5987, allocations: 4 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5988, allocations: 8.625 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5988, allocations: 1.156 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5988, allocations: 7.875 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.5991, allocations: 249.3 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.5991, allocations: 91.95 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5992, allocations: 12.16 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.5992, allocations: 3.891 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.5993, allocations: 17.16 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5993, allocations: 3.375 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.5994, allocations: 94.92 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5994, allocations: 0 / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002807/0.5997, allocations: 41.89 kB / 1.047 GB, free: 53.68 MB / 0.698 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.0003315/0.6, allocations: 179 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.6003, allocations: 96.09 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6003, allocations: 4.062 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.6004, allocations: 48.47 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.6007, allocations: 19.98 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.6011, allocations: 237.7 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.6012, allocations: 0.6913 MB / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.6012, allocations: 4.594 kB / 1.048 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.6013, allocations: 15.98 kB / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.6013, allocations: 0 / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of Templates: time 0.004041/0.6053, allocations: 1.611 MB / 1.05 GB, free: 52.48 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)