Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001241/0.001241, allocations: 108 kB / 15.61 MB, free: 152 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.001251/0.001251, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.488/1.488, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.03 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002218/0.1582, allocations: 1.461 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.1588, allocations: 496.7 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.1589, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.1589, allocations: 7.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.159, allocations: 7.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1591, allocations: 23.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.1592, allocations: 55.77 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.1593, allocations: 8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.1594, allocations: 31.8 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.1594, allocations: 15.92 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1595, allocations: 8 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.1595, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.1595, allocations: 15.92 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1595, allocations: 27.84 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.307e-05/0.1596, allocations: 44.11 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1596, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1596, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1596, allocations: 4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003981/0.16, allocations: 402.7 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1601, allocations: 20.02 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.1601, allocations: 30.75 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.1601, allocations: 8.844 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.1602, allocations: 164.4 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1603, allocations: 4.375 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1603, allocations: 8.312 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1604, allocations: 69.78 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1604, allocations: 3.984 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1605, allocations: 0 / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1605, allocations: 4 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1606, allocations: 31.97 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1609, allocations: 284.7 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.161, allocations: 42.48 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.1611, allocations: 28.94 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1611, allocations: 8 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.1613, allocations: 67.33 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1613, allocations: 0 / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003095/0.1616, allocations: 113.6 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1617, allocations: 51.41 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1617, allocations: 125.7 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1617, allocations: 25.7 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1618, allocations: 88.14 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.1618, allocations: 7.906 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1618, allocations: 25.7 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.1619, allocations: 314.8 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.162, allocations: 23.98 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.1621, allocations: 44.28 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1622, allocations: 76.2 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1622, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.1624, allocations: 93.45 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1624, allocations: 4.938 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1624, allocations: 160 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.1624, allocations: 8 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.1625, allocations: 11.98 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1625, allocations: 3.938 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1625, allocations: 4 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1626, allocations: 4 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 6.375e-05/0.1626, allocations: 121.7 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.1626, allocations: 3.906 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.1627, allocations: 15.95 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1627, allocations: 4 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1627, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1627, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.163, allocations: 342.7 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.163, allocations: 0 / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1631, allocations: 4 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1631, allocations: 0 / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1631, allocations: 11.98 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1631, allocations: 7.938 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1631, allocations: 0 / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1633, allocations: 183.4 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1634, allocations: 77.11 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1634, allocations: 4 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.1635, allocations: 15.92 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1635, allocations: 7.938 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1635, allocations: 4.375 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.1636, allocations: 95.2 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1636, allocations: 0 / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002145/0.1638, allocations: 8 kB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004077/0.1642, allocations: 0.7163 MB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1644, allocations: 55.89 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1644, allocations: 0 / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.1645, allocations: 27.92 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1647, allocations: 22.67 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1658, allocations: 1.397 MB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.166, allocations: 0.6807 MB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.166, allocations: 8 kB / 0.7914 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1661, allocations: 19.42 kB / 0.7914 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1661, allocations: 0 / 0.7914 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.185/2.351, allocations: 1.595 MB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/14.03, allocations: 4 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)