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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001048/0.001048, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001277/0.001277, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004142, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8726, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001773/0.8744, allocations: 1.202 MB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.8757, allocations: 0.6939 MB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.8758, allocations: 4 kB / 0.983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.8758, allocations: 7.922 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.8759, allocations: 7.875 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.8765, allocations: 95.77 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.8766, allocations: 83.75 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.8768, allocations: 19.97 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8769, allocations: 35.92 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.877, allocations: 43.81 kB / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.877, allocations: 4 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.8772, allocations: 83.84 kB / 0.9834 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.8772, allocations: 15.98 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.8773, allocations: 45.58 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.8775, allocations: 110 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8775, allocations: 0 / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8775, allocations: 0 / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8775, allocations: 0 / 0.9835 GB, free: 3.789 MB / 0.7325 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.0006232/0.8782, allocations: 454.3 kB / 0.984 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8782, allocations: 8.031 kB / 0.984 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.8783, allocations: 38.56 kB / 0.984 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.8783, allocations: 11.91 kB / 0.984 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.8785, allocations: 178.9 kB / 0.9842 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.8785, allocations: 4 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.8785, allocations: 8 kB / 0.9842 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.8787, allocations: 89.58 kB / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8788, allocations: 0 / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.8788, allocations: 0 / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8788, allocations: 4 kB / 0.9843 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.879, allocations: 55.91 kB / 0.9843 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.8796, allocations: 320.7 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.8797, allocations: 74.5 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.8799, allocations: 44.84 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.8799, allocations: 4.031 kB / 0.9848 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.8801, allocations: 95.36 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.8801, allocations: 4 kB / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004959/0.8806, allocations: 193.7 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.8807, allocations: 59.39 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8808, allocations: 121.9 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8808, allocations: 37.62 kB / 0.9852 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.8809, allocations: 92.38 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.881, allocations: 23.66 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.881, allocations: 4 kB / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.8811, allocations: 318.8 kB / 0.9857 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.8812, allocations: 27.98 kB / 0.9857 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.8813, allocations: 86.08 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.8814, allocations: 31.98 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8814, allocations: 0 / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/0.8817, allocations: 149.4 kB / 0.9859 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8817, allocations: 5.406 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8817, allocations: 4 kB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8817, allocations: 4.094 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8819, allocations: 24.06 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8819, allocations: 4 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.882, allocations: 19.78 kB / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.882, allocations: 8 kB / 0.986 GB, free: 0.9688 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.8821, allocations: 121.8 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.8821, allocations: 11.94 kB / 0.9861 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.8822, allocations: 8.375 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8822, allocations: 4 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8822, allocations: 4 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8822, allocations: 0 / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.8827, allocations: 442.3 kB / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8828, allocations: 0 / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.8828, allocations: 7.984 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.8828, allocations: 4 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8828, allocations: 0 / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8829, allocations: 4 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8829, allocations: 0 / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.8832, allocations: 255.3 kB / 0.9868 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.8833, allocations: 88.95 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.8834, allocations: 11.98 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.8835, allocations: 12 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.8835, allocations: 3.984 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.8835, allocations: 4 kB / 0.987 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.8836, allocations: 99.27 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8836, allocations: 3.938 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003341/0.884, allocations: 43.98 kB / 0.9871 GB, free: 15.76 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009423/0.8849, allocations: 0.846 MB / 0.9879 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.8852, allocations: 96.02 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8852, allocations: 0 / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.8853, allocations: 55.91 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.8856, allocations: 16.25 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.8868, allocations: 0.6567 MB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.8871, allocations: 0.6887 MB / 0.9894 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.8872, allocations: 11.97 kB / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.8872, allocations: 19.44 kB / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.8873, allocations: 0 / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.9026, allocations: 2.646 MB / 0.992 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004541/0.9031, allocations: 252 kB / 0.9922 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.705, allocations: 0.8125 kB / 0.9922 GB, free: 10.49 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat does not exist to compare? outputFormat=mat