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.001273/0.001273, allocations: 99.62 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.001528/0.001528, 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.562/1.562, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003876, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8058, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001756/0.8076, allocations: 1.198 MB / 0.982 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.8089, allocations: 0.6901 MB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.809, allocations: 3.938 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.809, allocations: 4 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.8091, allocations: 19.89 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.8097, allocations: 95.7 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.8099, allocations: 55.88 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.81, allocations: 19.95 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.8102, allocations: 31.92 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.8103, allocations: 47.81 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.8103, allocations: 4 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.8105, allocations: 67.83 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.8105, allocations: 19.89 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.8106, allocations: 37.7 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.8109, allocations: 106 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8109, allocations: 4 kB / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8109, allocations: 4 kB / 0.9832 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.8109, allocations: 0 / 0.9832 GB, free: 3.84 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.00091/0.8119, allocations: 446.4 kB / 0.9836 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.8119, allocations: 12.02 kB / 0.9836 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.812, allocations: 34.5 kB / 0.9837 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.8121, allocations: 11.91 kB / 0.9837 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.8123, allocations: 167 kB / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.8123, allocations: 15.98 kB / 0.9839 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.8124, allocations: 4 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.8127, allocations: 89.59 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8127, allocations: 3.938 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.8127, allocations: 3.984 kB / 0.984 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8127, allocations: 0 / 0.984 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.8129, allocations: 55.97 kB / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.8136, allocations: 316.7 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8138, allocations: 78.53 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.8138, allocations: 8.078 kB / 0.9844 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.8141, allocations: 91.36 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.8141, allocations: 0 / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005049/0.8146, allocations: 201.7 kB / 0.9847 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.8146, allocations: 51.5 kB / 0.9847 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8148, allocations: 136.1 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.8148, allocations: 29.7 kB / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.8149, allocations: 92.38 kB / 0.985 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.8149, allocations: 27.64 kB / 0.985 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.8149, allocations: 0 / 0.985 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8151, allocations: 322.8 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.8152, allocations: 35.92 kB / 0.9853 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.8153, allocations: 70.97 kB / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.8154, allocations: 43.98 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8154, allocations: 0 / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002581/0.8157, allocations: 145.4 kB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8157, allocations: 4 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8157, allocations: 4.094 kB / 0.9856 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8157, allocations: 3.984 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.8158, allocations: 15.98 kB / 0.9856 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8158, allocations: 4 kB / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.8159, allocations: 23.83 kB / 0.9856 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.8159, allocations: 4.094 kB / 0.9856 GB, free: 1.078 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.0001211/0.8161, allocations: 125.8 kB / 0.9858 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.8161, allocations: 11.95 kB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.8161, allocations: 4.375 kB / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8161, allocations: 0 / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8161, allocations: 0 / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.8162, allocations: 3.984 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.8167, allocations: 450.3 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8168, allocations: 0 / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.8168, allocations: 8 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8168, allocations: 0 / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8168, allocations: 3.984 kB / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8168, allocations: 0 / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8168, allocations: 4 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.8172, allocations: 267.2 kB / 0.9865 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.8173, allocations: 88.95 kB / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.8173, allocations: 0 / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.8174, allocations: 7.984 kB / 0.9866 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.8175, allocations: 7.938 kB / 0.9866 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.8175, allocations: 12.06 kB / 0.9866 GB, free: 16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.8176, allocations: 99.27 kB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8176, allocations: 0 / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003211/0.8179, allocations: 36 kB / 0.9867 GB, free: 15.86 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.0009419/0.8189, allocations: 0.8483 MB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8192, allocations: 100.1 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8192, allocations: 3.938 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.8193, allocations: 47.97 kB / 0.9877 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.8195, allocations: 15.98 kB / 0.9877 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.8207, allocations: 1.361 MB / 0.989 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.821, allocations: 0.7004 MB / 0.9897 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.375e-05/0.8211, allocations: 7.984 kB / 0.9897 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.8211, allocations: 19.44 kB / 0.9898 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8211, allocations: 0 / 0.9898 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.8357, allocations: 2.61 MB / 0.9923 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.836, allocations: 244.6 kB / 0.9925 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.64, allocations: 4 kB / 0.9925 GB, free: 9.906 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