Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_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.0014/0.001399, allocations: 99.7 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.002104/0.002104, 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 1.632/1.632, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.692/2.692, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001185/1.086, allocations: 398.4 kB / 0.9813 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001379/1.087, allocations: 0.7987 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/1.087, allocations: 0 / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/1.087, allocations: 3.984 kB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/1.088, allocations: 11.98 kB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/1.088, allocations: 0 / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/1.088, allocations: 15.97 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/1.088, allocations: 4 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/1.088, allocations: 11.94 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/1.088, allocations: 7.984 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/1.088, allocations: 4 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/1.088, allocations: 0 / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/1.088, allocations: 4 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/1.088, allocations: 29.64 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.693e-05/1.088, allocations: 15.95 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.088, allocations: 0 / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.731e-06/1.088, allocations: 0 / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.088, allocations: 3.938 kB / 0.9822 GB, free: 4.969 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.0006438/1.089, allocations: 349.6 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.089, allocations: 8.031 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/1.089, allocations: 30.56 kB / 0.9825 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/1.089, allocations: 3.984 kB / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.089, allocations: 163.1 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/1.089, allocations: 0 / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/1.089, allocations: 0 / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/1.09, allocations: 65.56 kB / 0.9827 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.09, allocations: 0 / 0.9827 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/1.09, allocations: 0 / 0.9827 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/1.09, allocations: 4 kB / 0.9827 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/1.09, allocations: 43.91 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/1.09, allocations: 256.9 kB / 0.983 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/1.09, allocations: 38.52 kB / 0.9831 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/1.09, allocations: 3.984 kB / 0.9831 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.09, allocations: 38.56 kB / 0.9831 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/1.09, allocations: 0 / 0.9831 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004816/1.091, allocations: 101.7 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.091, allocations: 51.41 kB / 0.9833 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/1.091, allocations: 101.8 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.091, allocations: 25.7 kB / 0.9834 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.091, allocations: 88.08 kB / 0.9835 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/1.091, allocations: 7.906 kB / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.091, allocations: 0 / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.091, allocations: 314.8 kB / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/1.092, allocations: 24.02 kB / 0.9838 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/1.092, allocations: 19.98 kB / 0.9838 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/1.092, allocations: 28.05 kB / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.092, allocations: 0 / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/1.092, allocations: 81.55 kB / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.092, allocations: 5.094 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.092, allocations: 0 / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.092, allocations: 0 / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/1.092, allocations: 16.02 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.092, allocations: 0 / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/1.092, allocations: 11.94 kB / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/1.092, allocations: 0 / 0.9839 GB, free: 2.902 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 0.0002386/1.092, allocations: 113.8 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1.092, allocations: 3.953 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/1.093, allocations: 88.72 kB / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.093, allocations: 0 / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.093, allocations: 0 / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.093, allocations: 0 / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.093, allocations: 157.6 kB / 0.9843 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.093, allocations: 8.016 kB / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/1.093, allocations: 8 kB / 0.9843 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.093, allocations: 8 kB / 0.9843 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/1.093, allocations: 3.953 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.093, allocations: 0 / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.093, allocations: 3.938 kB / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/1.093, allocations: 171.5 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/1.093, allocations: 85.03 kB / 0.9846 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.093, allocations: 4 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/1.094, allocations: 7.953 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.094, allocations: 12.02 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/1.094, allocations: 0 / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.62e-05/1.094, allocations: 83.28 kB / 0.9847 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 0 / 0.9847 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002126/1.094, allocations: 0 / 0.9847 GB, free: 2.062 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.0009964/1.095, allocations: 0.7008 MB / 0.9854 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002216/1.095, allocations: 55.92 kB / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.095, allocations: 0 / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/1.095, allocations: 23.98 kB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.095, allocations: 7.953 kB / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/1.096, allocations: 148.4 kB / 0.9856 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/1.096, allocations: 0.677 MB / 0.9862 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.65e-05/1.096, allocations: 0 / 0.9862 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/1.096, allocations: 7.438 kB / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/1.096, allocations: 0 / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/1.109, allocations: 1.002 MB / 0.9872 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.109, allocations: 190.1 kB / 0.9874 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.588, allocations: 0 / 0.9874 GB, free: 15.24 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Validation.Sin_res.mat does not exist to compare? outputFormat=mat