Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.894/1.894, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001321/0.001321, allocations: 175 kB / 393.1 MB, free: 4.07 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.451/1.452, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008513/0.0008517, allocations: 94.69 kB / 0.7935 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005367, allocations: 11.98 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6181, allocations: 121.3 MB / 1.041 GB, free: 59.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001683/0.6198, allocations: 1.205 MB / 1.042 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.621, allocations: 0.9907 MB / 1.043 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.621, allocations: 0 / 1.043 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.621, allocations: 6.375 kB / 1.043 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.6211, allocations: 7.141 kB / 1.043 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.6216, allocations: 106.9 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.6217, allocations: 69.91 kB / 1.043 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.6217, allocations: 11.11 kB / 1.043 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.6218, allocations: 30.69 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.6219, allocations: 22.67 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6219, allocations: 4.281 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.6221, allocations: 87.27 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.6221, allocations: 17.08 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.6222, allocations: 55.59 kB / 1.043 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.6224, allocations: 128.8 kB / 1.044 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6224, allocations: 1.375 kB / 1.044 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6224, allocations: 2.406 kB / 1.044 GB, free: 57.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6224, allocations: 0 / 1.044 GB, free: 57.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004814/0.6229, allocations: 434.9 kB / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.623, allocations: 11.53 kB / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.623, allocations: 8.281 kB / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.6231, allocations: 178.5 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.6231, allocations: 9.75 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.6231, allocations: 4.688 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.6233, allocations: 71.33 kB / 1.044 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6233, allocations: 0 / 1.044 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.6234, allocations: 7.453 kB / 1.044 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6234, allocations: 3.156 kB / 1.044 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.6235, allocations: 42.75 kB / 1.044 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.6239, allocations: 291.7 kB / 1.045 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6241, allocations: 54.47 kB / 1.045 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.6242, allocations: 36.86 kB / 1.045 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.6242, allocations: 0 / 1.045 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.6244, allocations: 86.52 kB / 1.045 GB, free: 56.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.6244, allocations: 0 / 1.045 GB, free: 56.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003917/0.6248, allocations: 151.8 kB / 1.045 GB, free: 56.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.6248, allocations: 58.88 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.6249, allocations: 118.7 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6249, allocations: 31.73 kB / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.625, allocations: 93.27 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.625, allocations: 18.33 kB / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.625, allocations: 0 / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.6251, allocations: 322.7 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.6251, allocations: 25.94 kB / 1.046 GB, free: 55.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.6252, allocations: 65.89 kB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.6254, allocations: 104.1 kB / 1.046 GB, free: 55.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6254, allocations: 0 / 1.046 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.6256, allocations: 119.9 kB / 1.046 GB, free: 55.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6256, allocations: 9.531 kB / 1.046 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6257, allocations: 1.062 kB / 1.046 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6257, allocations: 6.344 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.6258, allocations: 13.39 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6258, allocations: 2.609 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.6259, allocations: 13.31 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.6259, allocations: 7.469 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,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 (11): * Single equations (assignments): 11 * 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.2e-05/0.6259, allocations: 121.9 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.626, allocations: 10.34 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.626, allocations: 14.16 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.626, allocations: 1 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.626, allocations: 1 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.626, allocations: 0 / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.6264, allocations: 386.9 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6264, allocations: 1.031 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.6265, allocations: 12.19 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6265, allocations: 0 / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6265, allocations: 4.406 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6265, allocations: 0 / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6265, allocations: 3.938 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.6268, allocations: 218.5 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.6268, allocations: 90.97 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.6268, allocations: 2.688 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.6269, allocations: 3.938 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.627, allocations: 9.266 kB / 1.047 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.627, allocations: 1.781 kB / 1.047 GB, free: 54.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.6271, allocations: 93.77 kB / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6271, allocations: 3.938 kB / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002708/0.6273, allocations: 42.2 kB / 1.047 GB, free: 54.49 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003039/0.6276, allocations: 174 kB / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.6279, allocations: 80.86 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6279, allocations: 0 / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.628, allocations: 36.78 kB / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.6282, allocations: 7.703 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.6286, allocations: 222.7 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6287, allocations: 0.6846 MB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.6288, allocations: 5.891 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.6288, allocations: 9.109 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.6288, allocations: 0 / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of Templates: time 0.003923/0.6327, allocations: 1.358 MB / 1.049 GB, free: 53.34 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)