Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",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.00134/0.001341, allocations: 99.62 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.001437/0.001438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.022/2.022, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.427/3.427, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.064, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0009451/1.065, allocations: 394.5 kB / 0.9813 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/1.066, allocations: 0.7792 MB / 0.982 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/1.066, allocations: 4 kB / 0.982 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/1.066, allocations: 0 / 0.982 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/1.066, allocations: 11.92 kB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/1.066, allocations: 4 kB / 0.982 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/1.066, allocations: 15.97 kB / 0.9821 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/1.066, allocations: 4 kB / 0.9821 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/1.066, allocations: 7.984 kB / 0.9821 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/1.067, allocations: 7.938 kB / 0.9821 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/1.067, allocations: 4 kB / 0.9821 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/1.067, allocations: 4 kB / 0.9821 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/1.067, allocations: 0 / 0.9821 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/1.067, allocations: 29.7 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.644e-05/1.067, allocations: 15.95 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/1.067, allocations: 0 / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/1.067, allocations: 0 / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.739e-06/1.067, allocations: 4 kB / 0.9821 GB, free: 5.031 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.0004598/1.067, allocations: 341.6 kB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.067, allocations: 8.031 kB / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/1.067, allocations: 38.5 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/1.067, allocations: 0 / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.067, allocations: 167.1 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.067, allocations: 3.938 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/1.067, allocations: 0 / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/1.068, allocations: 57.62 kB / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/1.068, allocations: 4 kB / 0.9827 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.068, allocations: 0 / 0.9827 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.068, allocations: 4 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/1.068, allocations: 43.95 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/1.068, allocations: 252.8 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.068, allocations: 42.52 kB / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/1.068, allocations: 3.984 kB / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.069, allocations: 34.55 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.069, allocations: 4 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003732/1.069, allocations: 101.6 kB / 0.9832 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.069, allocations: 59.52 kB / 0.9833 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/1.069, allocations: 97.86 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/1.069, allocations: 25.7 kB / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/1.069, allocations: 88.08 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/1.069, allocations: 3.906 kB / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/1.069, allocations: 0 / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.069, allocations: 318.8 kB / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/1.069, allocations: 23.98 kB / 0.9838 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/1.069, allocations: 19.98 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/1.07, allocations: 19.98 kB / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.07, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/1.07, allocations: 81.67 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.07, allocations: 7.938 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.07, allocations: 0 / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.07, allocations: 0 / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.07, allocations: 16.02 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.07, allocations: 4 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/1.07, allocations: 7.984 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/1.07, allocations: 0 / 0.9839 GB, free: 2.965 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 9.328e-05/1.07, allocations: 113.8 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/1.07, allocations: 3.953 kB / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/1.07, allocations: 84.78 kB / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.07, allocations: 0 / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.07, allocations: 3.938 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.07, allocations: 0 / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/1.071, allocations: 161.6 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.071, allocations: 0 / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/1.071, allocations: 19.97 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.071, allocations: 3.984 kB / 0.9843 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/1.071, allocations: 7.953 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.071, allocations: 0 / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.071, allocations: 0 / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/1.071, allocations: 167.5 kB / 0.9845 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/1.071, allocations: 81.11 kB / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/1.071, allocations: 4 kB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/1.071, allocations: 11.94 kB / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/1.071, allocations: 4 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/1.071, allocations: 0 / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.686e-05/1.071, allocations: 83.31 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.071, allocations: 0 / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002154/1.072, allocations: 4 kB / 0.9847 GB, free: 2.129 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.0006045/1.072, allocations: 0.7085 MB / 0.9853 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002128/1.072, allocations: 43.95 kB / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.072, allocations: 4.094 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/1.073, allocations: 27.92 kB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.073, allocations: 7.953 kB / 0.9854 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/1.073, allocations: 140.3 kB / 0.9856 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/1.074, allocations: 0.681 MB / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.542e-05/1.074, allocations: 0 / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/1.074, allocations: 23.36 kB / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/1.074, allocations: 0 / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/1.085, allocations: 0.9971 MB / 0.9872 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.085, allocations: 189.3 kB / 0.9874 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.536, allocations: 0 / 0.9874 GB, free: 15.29 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat does not exist to compare? outputFormat=mat