Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 172.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.95 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/5.011e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.403, allocations: 149.9 MB / 1.365 GB, free: 4.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.403, allocations: 66.09 kB / 1.365 GB, free: 4.125 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004591/1.408, allocations: 1.621 MB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.766e-06/1.408, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.794e-05/1.408, allocations: 4 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006613/1.408, allocations: 424.5 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.408, allocations: 12.03 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/1.408, allocations: 41.44 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/1.408, allocations: 15.41 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.409, allocations: 210.3 kB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.409, allocations: 11.12 kB / 1.368 GB, free: 1.906 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/1.409, allocations: 11.38 kB / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/1.409, allocations: 134.1 kB / 1.368 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.409, allocations: 4 kB / 1.368 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.409, allocations: 11 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.409, allocations: 4 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/1.409, allocations: 96.59 kB / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/1.41, allocations: 0.5255 MB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/1.41, allocations: 72.27 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/1.411, allocations: 34.86 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/1.411, allocations: 0 / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.411, allocations: 42.67 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/1.411, allocations: 3.938 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002471/1.411, allocations: 91.03 kB / 1.369 GB, free: 1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.411, allocations: 55.34 kB / 1.369 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/1.411, allocations: 175.3 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.411, allocations: 29.64 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/1.411, allocations: 118 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.411, allocations: 30.92 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/1.411, allocations: 3.625 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.411, allocations: 322 kB / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/1.412, allocations: 34.94 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/1.412, allocations: 27.88 kB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/1.412, allocations: 35.73 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.412, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002122/1.412, allocations: 120.6 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.412, allocations: 4 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.412, allocations: 0 / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.412, allocations: 0 / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.412, allocations: 36.83 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.412, allocations: 0 / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.412, allocations: 23.83 kB / 1.37 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/1.412, allocations: 7.953 kB / 1.37 GB, free: 64 kB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001106/1.412, allocations: 104.8 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/1.412, allocations: 15.81 kB / 1.37 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/1.413, allocations: 126.6 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.413, allocations: 4 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.413, allocations: 0 / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.413, allocations: 0 / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/1.413, allocations: 441.4 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.413, allocations: 0 / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.413, allocations: 23.98 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.413, allocations: 4.188 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.413, allocations: 0 / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.413, allocations: 7.938 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.413, allocations: 4.047 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/1.414, allocations: 254.4 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/1.414, allocations: 100.5 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/1.414, allocations: 7.938 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.414, allocations: 22.91 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/1.414, allocations: 4 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/1.414, allocations: 7.812 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001252/1.414, allocations: 146.8 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.414, allocations: 4 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002239/1.414, allocations: 19 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00068/1.415, allocations: 0.995 MB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001625/1.415, allocations: 66.12 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.415, allocations: 0 / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/1.415, allocations: 37.89 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/1.416, allocations: 19.06 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/1.416, allocations: 228 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.416, allocations: 0.7126 MB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.513e-05/1.416, allocations: 17.2 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/1.417, allocations: 42.23 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.417, allocations: 0 / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/1.43, allocations: 2.4 MB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.43, allocations: 169.1 kB / 1.375 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/3.059, allocations: 4.062 kB / 1.375 GB, free: 10.17 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat does not exist to compare? outputFormat=mat