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 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.0009151/0.0009151, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009525/0.0009526, allocations: 177.3 kB / 15.95 MB, free: 216 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.552/1.552, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.8579, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001852/0.8598, allocations: 1.198 MB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.861, allocations: 0.6978 MB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.8611, allocations: 0 / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.8611, allocations: 7.922 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.8612, allocations: 15.97 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.8617, allocations: 99.69 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.8618, allocations: 47.94 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.8619, allocations: 19.97 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.862, allocations: 39.84 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.8621, allocations: 35.89 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.8621, allocations: 4 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.8623, allocations: 75.8 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.8623, allocations: 11.98 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.8623, allocations: 41.64 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.8625, allocations: 106 kB / 0.9832 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.8625, allocations: 0 / 0.9832 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8625, allocations: 4 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8626, allocations: 0 / 0.9832 GB, free: 3.867 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.0006872/0.8633, allocations: 450.4 kB / 0.9836 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.8633, allocations: 8.031 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.8634, allocations: 34.56 kB / 0.9837 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.8634, allocations: 7.906 kB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.8636, allocations: 174.9 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.8636, allocations: 16 kB / 0.9839 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.8637, allocations: 4 kB / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.8639, allocations: 97.52 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8639, allocations: 0 / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.8639, allocations: 3.938 kB / 0.984 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.864, allocations: 0 / 0.984 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.8641, allocations: 59.91 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.8648, allocations: 320.7 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.865, allocations: 70.5 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.865, allocations: 8 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.8653, allocations: 95.39 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.8653, allocations: 0 / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005262/0.8658, allocations: 197.5 kB / 0.9847 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.8659, allocations: 55.41 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.866, allocations: 129.8 kB / 0.9849 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.866, allocations: 25.7 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.8661, allocations: 96.36 kB / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.8662, allocations: 23.66 kB / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.8662, allocations: 0 / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8663, allocations: 326.8 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.8664, allocations: 27.98 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.8665, allocations: 75.25 kB / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.8666, allocations: 47.91 kB / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8667, allocations: 0 / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002642/0.8669, allocations: 141.5 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.867, allocations: 9.562 kB / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.867, allocations: 0 / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.867, allocations: 4 kB / 0.9856 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.8671, allocations: 23.92 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8671, allocations: 0 / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.8672, allocations: 19.83 kB / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.8672, allocations: 4.375 kB / 0.9856 GB, free: 1.102 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.0001188/0.8673, allocations: 131.3 kB / 0.9858 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.8674, allocations: 7.953 kB / 0.9858 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.8674, allocations: 8.375 kB / 0.9858 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8674, allocations: 7.938 kB / 0.9858 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8674, allocations: 0 / 0.9858 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.8674, allocations: 3.984 kB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.868, allocations: 446.4 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.868, allocations: 0 / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.868, allocations: 4 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.868, allocations: 0 / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8681, allocations: 11.98 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8681, allocations: 0 / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8681, allocations: 0 / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.8684, allocations: 259.3 kB / 0.9865 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.8685, allocations: 84.95 kB / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.8685, allocations: 4 kB / 0.9866 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.8686, allocations: 8 kB / 0.9866 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.8687, allocations: 7.984 kB / 0.9866 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.8687, allocations: 7.984 kB / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.8687, allocations: 98.39 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8688, allocations: 0 / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003016/0.8691, allocations: 44 kB / 0.9867 GB, free: 15.89 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.0008514/0.8699, allocations: 0.8574 MB / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.8702, allocations: 96.02 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8702, allocations: 4 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.8703, allocations: 51.91 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.8705, allocations: 11.98 kB / 0.9877 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.8717, allocations: 1.363 MB / 0.9891 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.872, allocations: 0.7004 MB / 0.9897 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.8721, allocations: 4 kB / 0.9897 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.8721, allocations: 23.42 kB / 0.9898 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8721, allocations: 0 / 0.9898 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.8848, allocations: 2.635 MB / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.8851, allocations: 251.3 kB / 0.9926 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.703, allocations: 0 / 0.9926 GB, free: 9.887 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat