Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.0008495/0.0008498, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 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.474/1.474, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.544/2.544, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004683, allocations: 12 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8376, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0008397/0.8385, allocations: 317.2 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.121e-05/0.8386, allocations: 4 kB / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.8386, allocations: 4 kB / 0.9815 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.8386, allocations: 3.938 kB / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.825e-05/0.8387, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.1e-05/0.8387, allocations: 4 kB / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.8388, allocations: 3.938 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.8388, allocations: 0 / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.8389, allocations: 4 kB / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.968e-05/0.8389, allocations: 0 / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.8389, allocations: 0 / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.8389, allocations: 0 / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-06/0.8389, allocations: 4 kB / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.839, allocations: 25.7 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.458e-05/0.839, allocations: 3.984 kB / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.839, allocations: 0 / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/0.839, allocations: 0 / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.839, allocations: 0 / 0.9815 GB, free: 5.859 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003/0.8393, allocations: 307.4 kB / 0.9818 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8394, allocations: 8.094 kB / 0.9818 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.8395, allocations: 34.56 kB / 0.9818 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.8395, allocations: 11.84 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.8396, allocations: 167.1 kB / 0.982 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.8397, allocations: 3.938 kB / 0.982 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.8397, allocations: 0 / 0.982 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8398, allocations: 29.66 kB / 0.9821 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8398, allocations: 4 kB / 0.9821 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8398, allocations: 0 / 0.9821 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.8398, allocations: 0 / 0.9821 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.8399, allocations: 0 / 0.9821 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.8402, allocations: 383.5 kB / 0.9824 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.8404, allocations: 173 kB / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.8404, allocations: 80.14 kB / 0.9827 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.8405, allocations: 79.28 kB / 0.9827 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.8405, allocations: 113.9 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.8405, allocations: 0 / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.231e-05/0.8406, allocations: 25.7 kB / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.8407, allocations: 134.6 kB / 0.983 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.8408, allocations: 93.86 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.8408, allocations: 25.7 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.8409, allocations: 84.14 kB / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.8409, allocations: 4.125 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-07/0.8409, allocations: 0 / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.841, allocations: 310.8 kB / 0.9835 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.841, allocations: 0 / 0.9835 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.8411, allocations: 7.938 kB / 0.9835 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.8411, allocations: 75.28 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/0.8411, allocations: 75.28 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.397e-05/0.8412, allocations: 29.66 kB / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.8412, allocations: 88.67 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/0.8413, allocations: 83.22 kB / 0.9838 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/0.8414, allocations: 154.6 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.8414, allocations: 81.52 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.654e-05/0.8415, allocations: 158.6 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.8416, allocations: 75.28 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.8416, allocations: 83.25 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.8417, allocations: 264.4 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.8418, allocations: 112.9 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.8418, allocations: 108 kB / 0.9848 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/0.8419, allocations: 180.3 kB / 0.985 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.976e-05/0.842, allocations: 180.3 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.8421, allocations: 184.2 kB / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.8423, allocations: 397.2 kB / 0.9857 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/0.8423, allocations: 112.9 kB / 0.9858 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.8424, allocations: 101 kB / 0.9859 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-05/0.8425, allocations: 184.2 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.8425, allocations: 184.2 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.8426, allocations: 180.3 kB / 0.9865 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.018e-05/0.8427, allocations: 180.2 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.8428, allocations: 307.8 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.8429, allocations: 178.5 kB / 0.9871 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.843, allocations: 184.3 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.8431, allocations: 112.9 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.8432, allocations: 188.3 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.8432, allocations: 108.9 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.8433, allocations: 79.28 kB / 0.9877 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8433, allocations: 0 / 0.9877 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002527/0.8435, allocations: 4.094 kB / 0.9877 GB, free: 15.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004416/0.844, allocations: 0.801 MB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 3.642e-05/0.844, allocations: 0 / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.844, allocations: 0 / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.8441, allocations: 11.94 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.8445, allocations: 0.5262 MB / 0.989 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.8451, allocations: 0.4988 MB / 0.9895 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.8454, allocations: 0.677 MB / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.446e-06/0.8454, allocations: 0 / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.8454, allocations: 7.438 kB / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.8455, allocations: 0 / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.8575, allocations: 0.7438 MB / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.8577, allocations: 202.9 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.647, allocations: 2.25 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat