Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.001136/0.001136, allocations: 91.92 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.001703/0.001703, 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.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.673/2.673, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 19.98 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8446, allocations: 146.8 MB / 0.9812 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0009783/0.8457, allocations: 386.4 kB / 0.9815 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.8467, allocations: 0.7962 MB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.8468, allocations: 4 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.8468, allocations: 0 / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.8468, allocations: 0 / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.847, allocations: 7.984 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.847, allocations: 19.94 kB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.8471, allocations: 11.98 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.8472, allocations: 7.938 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.8473, allocations: 7.984 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.8473, allocations: 4 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.8473, allocations: 0 / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.8473, allocations: 3.938 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.8474, allocations: 29.64 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.795e-05/0.8474, allocations: 19.95 kB / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8474, allocations: 0 / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8474, allocations: 0 / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.8474, allocations: 0 / 0.9824 GB, free: 4.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004257/0.8479, allocations: 341.6 kB / 0.9827 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8479, allocations: 12.03 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.848, allocations: 30.56 kB / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.848, allocations: 0 / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8481, allocations: 167.1 kB / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8482, allocations: 4 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.8482, allocations: 0 / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.8484, allocations: 67.86 kB / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8484, allocations: 0 / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.8484, allocations: 0 / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.8484, allocations: 0 / 0.983 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.8486, allocations: 47.95 kB / 0.9831 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.8489, allocations: 248.8 kB / 0.9833 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.8491, allocations: 46.55 kB / 0.9833 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8492, allocations: 28.84 kB / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.8492, allocations: 4 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.8493, allocations: 34.56 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.8493, allocations: 0 / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.8497, allocations: 93.64 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.8497, allocations: 51.41 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.8498, allocations: 105.8 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.8498, allocations: 25.83 kB / 0.9837 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.8499, allocations: 84.14 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.85, allocations: 11.84 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.85, allocations: 3.938 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8501, allocations: 314.8 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.8502, allocations: 23.91 kB / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.8503, allocations: 27.98 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.8504, allocations: 19.98 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8504, allocations: 0 / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/0.8506, allocations: 81.67 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.8506, allocations: 12.88 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8506, allocations: 0 / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8507, allocations: 0 / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.8508, allocations: 11.98 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.8508, allocations: 0 / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.8508, allocations: 12.03 kB / 0.9842 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.8508, allocations: 4 kB / 0.9843 GB, free: 2.82 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 (2): * Single equations (assignments): 2 * 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 7.361e-05/0.8509, allocations: 109.8 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.851, allocations: 7.953 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.8512, allocations: 84.72 kB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8512, allocations: 4 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8512, allocations: 0 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8512, allocations: 0 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.8514, allocations: 157.6 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8514, allocations: 0 / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.8515, allocations: 11.98 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8515, allocations: 0 / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8515, allocations: 7.984 kB / 0.9846 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.8515, allocations: 0 / 0.9846 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8515, allocations: 4 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.8517, allocations: 175.5 kB / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.8518, allocations: 77.11 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8518, allocations: 3.984 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.8519, allocations: 11.95 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.8519, allocations: 3.984 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.852, allocations: 0 / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.852, allocations: 83.28 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.852, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000214/0.8522, allocations: 4 kB / 0.985 GB, free: 1.992 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005747/0.8528, allocations: 0.7086 MB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.853, allocations: 47.95 kB / 0.9857 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.853, allocations: 0 / 0.9857 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.8531, allocations: 24.05 kB / 0.9857 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.8534, allocations: 11.89 kB / 0.9857 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.8538, allocations: 138.2 kB / 0.9859 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8541, allocations: 0.677 MB / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.8541, allocations: 8.062 kB / 0.9865 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.8542, allocations: 7.438 kB / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8542, allocations: 0 / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.8656, allocations: 1.027 MB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.8658, allocations: 185.4 kB / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.637, allocations: 0 / 0.9877 GB, free: 15.15 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat does not exist to compare? outputFormat=mat