Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.0009958/0.0009959, 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.001033/0.001033, 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 1.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003807, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8042, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0007506/0.805, allocations: 331 kB / 0.9539 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.8058, allocations: 0.8026 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.8058, allocations: 0 / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.8059, allocations: 0 / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.8059, allocations: 9.516 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.806, allocations: 9.266 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.466e-05/0.8061, allocations: 12.67 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.8062, allocations: 1.25 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.8062, allocations: 12.05 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.8063, allocations: 6.688 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.8063, allocations: 1.5 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.8064, allocations: 0 / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.8064, allocations: 1.125 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.8064, allocations: 35.02 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.793e-05/0.8065, allocations: 15.23 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8065, allocations: 0 / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8065, allocations: 0 / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.8065, allocations: 0 / 0.9548 GB, free: 7.094 MB / 0.7169 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.000318/0.8068, allocations: 323.9 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8069, allocations: 9.125 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.8069, allocations: 30.56 kB / 0.9552 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.8069, allocations: 5.078 kB / 0.9552 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.807, allocations: 172.1 kB / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.807, allocations: 1.219 kB / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.807, allocations: 0 / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.8072, allocations: 36.73 kB / 0.9554 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8072, allocations: 3.938 kB / 0.9554 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.8072, allocations: 5.172 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8072, allocations: 0 / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.8073, allocations: 24.33 kB / 0.9554 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.8074, allocations: 147.7 kB / 0.9555 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.8075, allocations: 30.22 kB / 0.9556 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.8075, allocations: 0 / 0.9556 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.8075, allocations: 36.19 kB / 0.9556 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.8076, allocations: 7.938 kB / 0.9556 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002338/0.8078, allocations: 63.17 kB / 0.9557 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.8078, allocations: 51.41 kB / 0.9557 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.8079, allocations: 99.42 kB / 0.9558 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.8079, allocations: 27.11 kB / 0.9558 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.808, allocations: 85.44 kB / 0.9559 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.808, allocations: 8.125 kB / 0.9559 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.808, allocations: 0 / 0.9559 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.8081, allocations: 316 kB / 0.9562 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.8081, allocations: 7.25 kB / 0.9562 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.8082, allocations: 9.703 kB / 0.9563 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.8082, allocations: 14.28 kB / 0.9563 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8082, allocations: 4.062 kB / 0.9563 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.856e-05/0.8083, allocations: 46.44 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8083, allocations: 8.234 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.8084, allocations: 1.312 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8084, allocations: 0 / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.8085, allocations: 3.375 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8085, allocations: 5.172 kB / 0.9563 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.8085, allocations: 10.25 kB / 0.9563 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.8085, allocations: 1.031 kB / 0.9563 GB, free: 5.445 MB / 0.7169 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 6.495e-05/0.8086, allocations: 118.8 kB / 0.9565 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.8086, allocations: 1.219 kB / 0.9565 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.8086, allocations: 4.688 kB / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8086, allocations: 0 / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8087, allocations: 5 kB / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8087, allocations: 0 / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.199e-05/0.8087, allocations: 164.9 kB / 0.9566 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.8087, allocations: 4 kB / 0.9566 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.8088, allocations: 4.031 kB / 0.9566 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.8088, allocations: 4.922 kB / 0.9566 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.8088, allocations: 0 / 0.9566 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8088, allocations: 4.812 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8088, allocations: 0 / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.8089, allocations: 78.17 kB / 0.9567 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.809, allocations: 78.11 kB / 0.9568 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.809, allocations: 1.438 kB / 0.9568 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.809, allocations: 6.547 kB / 0.9568 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.8091, allocations: 0 / 0.9568 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.8091, allocations: 1.375 kB / 0.9568 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.8091, allocations: 83.28 kB / 0.9569 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8091, allocations: 0 / 0.9569 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001924/0.8093, allocations: 10.72 kB / 0.9569 GB, free: 4.832 MB / 0.7169 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.0003348/0.8097, allocations: 0.6121 MB / 0.9575 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.8098, allocations: 25.05 kB / 0.9575 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8098, allocations: 0 / 0.9575 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.8098, allocations: 12.36 kB / 0.9575 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.8099, allocations: 0 / 0.9575 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.8103, allocations: 146.4 kB / 0.9577 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.8105, allocations: 0.6778 MB / 0.9583 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.8105, allocations: 3.984 kB / 0.9583 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.8105, allocations: 8.625 kB / 0.9583 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8105, allocations: 3.938 kB / 0.9583 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.8217, allocations: 0.8857 MB / 0.9592 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.822, allocations: 195.7 kB / 0.9594 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.366, allocations: 1 kB / 0.9594 GB, free: 2.695 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat does not exist to compare? outputFormat=mat