Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00115/0.00115, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.397/2.397, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 70.88 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2315, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001679/0.2332, allocations: 0.7223 MB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.2339, allocations: 0.8079 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.2339, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.234, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.234, allocations: 3.984 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.2341, allocations: 8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.2342, allocations: 27.86 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.2343, allocations: 11.98 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.2343, allocations: 4 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.2344, allocations: 11.92 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2344, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.2344, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2344, allocations: 4 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2344, allocations: 11.92 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.513e-05/0.2345, allocations: 15.97 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2345, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2345, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2345, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 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.0003698/0.2349, allocations: 339.8 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2349, allocations: 11.97 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.235, allocations: 38.73 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.235, allocations: 12.72 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.2351, allocations: 160.4 kB / 1.054 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.2351, allocations: 12.31 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.2351, allocations: 384 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2353, allocations: 50.23 kB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2353, allocations: 7.938 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.2353, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2353, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2355, allocations: 35.95 kB / 1.054 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.2358, allocations: 244.9 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2359, allocations: 50.47 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.236, allocations: 16.91 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.236, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2361, allocations: 38.56 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2361, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003087/0.2364, allocations: 77.64 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2364, allocations: 59.34 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.2365, allocations: 101.8 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2365, allocations: 25.7 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.2365, allocations: 80.14 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2365, allocations: 7.906 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2366, allocations: 13.72 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.2367, allocations: 315 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.2368, allocations: 23.97 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.2368, allocations: 11.98 kB / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.237, allocations: 36.83 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/0.2372, allocations: 77.56 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2372, allocations: 9.406 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2372, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.2372, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.2373, allocations: 7.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2373, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.2374, allocations: 7.984 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2374, allocations: 8 kB / 1.056 GB, free: 4.461 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.2374, allocations: 113.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2375, allocations: 3.938 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.2377, allocations: 72.78 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2377, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2377, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2377, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.2378, allocations: 161.6 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2378, allocations: 7.938 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.2379, allocations: 11.94 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2379, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.2379, allocations: 192 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2379, allocations: 3.984 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2379, allocations: 0 / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.2381, allocations: 167.5 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.2382, allocations: 85 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2382, allocations: 4 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.2383, allocations: 0 / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.2383, allocations: 7.984 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2383, allocations: 0 / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.2384, allocations: 83.28 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2384, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001998/0.2386, allocations: 7.938 kB / 1.056 GB, free: 3.648 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.239, allocations: 0.6968 MB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2392, allocations: 43.98 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2392, allocations: 0 / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.2393, allocations: 19.92 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2395, allocations: 6.391 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.2399, allocations: 137.1 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2401, allocations: 0.6772 MB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.2401, allocations: 4 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.2402, allocations: 11.42 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2402, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009472/0.2496, allocations: 1.067 MB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.2498, allocations: 203 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.799, allocations: 2.391 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches