Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.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.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin",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.001312/0.001312, allocations: 100.2 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.001539/0.001539, allocations: 177.3 kB / 15.94 MB, free: 228 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.43/2.43, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.218/4.218, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005908/0.000591, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.08, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin): time 0.0008482/1.081, allocations: 341.2 kB / 0.9812 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/1.082, allocations: 0.7924 MB / 0.982 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/1.082, allocations: 4 kB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/1.082, allocations: 0 / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/1.082, allocations: 7.984 kB / 0.982 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/1.082, allocations: 0 / 0.982 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.577e-05/1.083, allocations: 19.97 kB / 0.982 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/1.083, allocations: 11.88 kB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/1.083, allocations: 4 kB / 0.982 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/1.083, allocations: 11.98 kB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/1.083, allocations: 0 / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/1.083, allocations: 0 / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/1.083, allocations: 7.875 kB / 0.9821 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/1.083, allocations: 25.7 kB / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.778e-05/1.083, allocations: 15.95 kB / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/1.083, allocations: 0 / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/1.083, allocations: 4 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.356e-06/1.083, allocations: 0 / 0.9821 GB, free: 5.059 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.0004198/1.083, allocations: 333.6 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.083, allocations: 8.031 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/1.083, allocations: 30.56 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/1.083, allocations: 0 / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.084, allocations: 163.1 kB / 0.9826 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/1.084, allocations: 0 / 0.9826 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/1.084, allocations: 0 / 0.9826 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/1.084, allocations: 45.64 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/1.084, allocations: 3.938 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/1.084, allocations: 4 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.084, allocations: 0 / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/1.084, allocations: 15.98 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/1.084, allocations: 153.7 kB / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/1.084, allocations: 29 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/1.084, allocations: 4.062 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.084, allocations: 34.56 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/1.084, allocations: 0 / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002472/1.084, allocations: 65.48 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.085, allocations: 55.41 kB / 0.983 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/1.085, allocations: 105.8 kB / 0.9831 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.085, allocations: 29.64 kB / 0.9831 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/1.085, allocations: 84.14 kB / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/1.085, allocations: 0 / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/1.085, allocations: 0 / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.085, allocations: 319 kB / 0.9835 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/1.085, allocations: 12 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/1.085, allocations: 8 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/1.085, allocations: 7.984 kB / 0.9835 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.085, allocations: 4 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00011/1.085, allocations: 57.69 kB / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.085, allocations: 4 kB / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.085, allocations: 0 / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.085, allocations: 0 / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/1.085, allocations: 11.94 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/1.085, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/1.085, allocations: 7.938 kB / 0.9836 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.085, allocations: 3.938 kB / 0.9836 GB, free: 3.27 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 (1): * Single equations (assignments): 1 * 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 8.775e-05/1.085, allocations: 109.9 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/1.085, allocations: 7.906 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/1.085, allocations: 7.125 kB / 0.9837 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.085, allocations: 3.984 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.085, allocations: 3.953 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.085, allocations: 0 / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/1.086, allocations: 149.7 kB / 0.9839 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.086, allocations: 0 / 0.9839 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/1.086, allocations: 4 kB / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.086, allocations: 0 / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.086, allocations: 4 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.086, allocations: 0 / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.086, allocations: 4 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/1.086, allocations: 85 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/1.086, allocations: 77.11 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/1.086, allocations: 4.031 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/1.086, allocations: 4 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/1.086, allocations: 0 / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/1.086, allocations: 3.984 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001074/1.086, allocations: 83.47 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.086, allocations: 0 / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001805/1.086, allocations: 7.953 kB / 0.9842 GB, free: 2.629 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 (1): * Single equations (assignments): 1 * 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.0004357/1.087, allocations: 0.6202 MB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.087, allocations: 15.98 kB / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/1.087, allocations: 4.094 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/1.087, allocations: 12 kB / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/1.087, allocations: 3.938 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/1.087, allocations: 142.3 kB / 0.9849 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.088, allocations: 0.6809 MB / 0.9856 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.622e-05/1.088, allocations: 8.062 kB / 0.9856 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/1.088, allocations: 7.438 kB / 0.9856 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/1.088, allocations: 0 / 0.9856 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/1.099, allocations: 0.891 MB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004374/1.1, allocations: 196.9 kB / 0.9867 GB, free: 64 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.605, allocations: 0 / 0.9867 GB, free: 64 kB / 0.7325 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.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.Sin_res.mat does not exist to compare? outputFormat=mat