Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.001165/0.001164, allocations: 99.55 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.001415/0.001415, allocations: 177.3 kB / 15.94 MB, free: 228 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.602/1.602, 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.644/2.644, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007379/0.0007383, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9376, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00171/0.9394, allocations: 1.167 MB / 0.982 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.9401, allocations: 423.4 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.9402, allocations: 4 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.9402, allocations: 0 / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.9403, allocations: 11.98 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.9405, allocations: 23.84 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.9406, allocations: 27.97 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.9407, allocations: 15.97 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.9408, allocations: 11.94 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.9409, allocations: 23.91 kB / 0.9825 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.9409, allocations: 4 kB / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.9409, allocations: 0 / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.941, allocations: 11.94 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.941, allocations: 33.7 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.9411, allocations: 34.17 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.9411, allocations: 0 / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9411, allocations: 0 / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9411, allocations: 0 / 0.9826 GB, free: 4.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000546/0.9417, allocations: 408.1 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9417, allocations: 8.031 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.9418, allocations: 38.56 kB / 0.983 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.9418, allocations: 11.91 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.9419, allocations: 174.9 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.942, allocations: 0 / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.942, allocations: 7.984 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9422, allocations: 65.62 kB / 0.9833 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9422, allocations: 0 / 0.9833 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9422, allocations: 0 / 0.9833 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9422, allocations: 7.938 kB / 0.9833 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.9424, allocations: 43.97 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.9428, allocations: 280.9 kB / 0.9836 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.943, allocations: 46.52 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.943, allocations: 3.984 kB / 0.9836 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.9432, allocations: 71.48 kB / 0.9837 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.9432, allocations: 0 / 0.9837 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003791/0.9436, allocations: 133.5 kB / 0.9838 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.9436, allocations: 51.41 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.9437, allocations: 118 kB / 0.984 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.9438, allocations: 25.7 kB / 0.984 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.9438, allocations: 88.14 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.9438, allocations: 19.73 kB / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.9439, allocations: 0 / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.944, allocations: 322.8 kB / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.944, allocations: 23.98 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.9441, allocations: 48.28 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.9442, allocations: 23.94 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9442, allocations: 0 / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001892/0.9444, allocations: 105.5 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9444, allocations: 4 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9445, allocations: 4.156 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.9445, allocations: 4 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.9446, allocations: 11.94 kB / 0.9847 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9446, allocations: 3.984 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.9446, allocations: 4 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.9446, allocations: 4.375 kB / 0.9847 GB, free: 2.129 MB / 0.7325 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 ($PRE.bli.blindState,bli.blindState,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 (7): * Single equations (assignments): 7 * 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 9.406e-05/0.9447, allocations: 117.8 kB / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.9448, allocations: 7.953 kB / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.9448, allocations: 11.97 kB / 0.9848 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9448, allocations: 3.984 kB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9448, allocations: 0 / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9448, allocations: 0 / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.9452, allocations: 358.6 kB / 0.9851 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9452, allocations: 4.062 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.9453, allocations: 7.938 kB / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9453, allocations: 0 / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.9453, allocations: 0 / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9453, allocations: 4 kB / 0.9852 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9453, allocations: 0 / 0.9852 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.9456, allocations: 203.4 kB / 0.9853 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.9456, allocations: 85.02 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.9457, allocations: 0 / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.9457, allocations: 4 kB / 0.9854 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.9458, allocations: 7.984 kB / 0.9854 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9458, allocations: 4 kB / 0.9854 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.9459, allocations: 91.27 kB / 0.9855 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9459, allocations: 0 / 0.9855 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000228/0.9461, allocations: 12 kB / 0.9855 GB, free: 1.125 MB / 0.7325 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 (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.0005059/0.9466, allocations: 0.7357 MB / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.9468, allocations: 60.14 kB / 0.9863 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9468, allocations: 3.938 kB / 0.9863 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.9469, allocations: 31.98 kB / 0.9864 GB, free: 272 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.9471, allocations: 4 kB / 0.9864 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.948, allocations: 0.9964 MB / 0.9873 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.9482, allocations: 0.6887 MB / 0.988 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.9482, allocations: 288 / 0.988 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.9483, allocations: 19.44 kB / 0.988 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9483, allocations: 0 / 0.988 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.9601, allocations: 1.347 MB / 0.9893 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.9603, allocations: 221.5 kB / 0.9895 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.668, allocations: 4.812 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat