Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",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.001087/0.001087, 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.001201/0.001201, 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.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.509/2.509, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8258, allocations: 142.3 MB / 0.9536 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0007575/0.8266, allocations: 393.4 kB / 0.954 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.8274, allocations: 0.7863 MB / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.8274, allocations: 0 / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.8274, allocations: 1.438 kB / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.8275, allocations: 3.984 kB / 0.9548 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.292e-05/0.8275, allocations: 5.375 kB / 0.9548 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.8276, allocations: 16.7 kB / 0.9548 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.8277, allocations: 9.609 kB / 0.9548 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.8277, allocations: 4.438 kB / 0.9548 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.8278, allocations: 13.67 kB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.8278, allocations: 1.656 kB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.8278, allocations: 0.75 kB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.8278, allocations: 0.9375 kB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.8278, allocations: 26.73 kB / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.984e-05/0.8279, allocations: 24.17 kB / 0.9549 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.8279, allocations: 0 / 0.9549 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8279, allocations: 0 / 0.9549 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.8279, allocations: 0 / 0.9549 GB, free: 7.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000327/0.8282, allocations: 338.8 kB / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8283, allocations: 9.531 kB / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.8283, allocations: 35.91 kB / 0.9552 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.928e-05/0.8284, allocations: 5.328 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.823e-05/0.8284, allocations: 164.3 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.8284, allocations: 5.578 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.8285, allocations: 0 / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.8286, allocations: 62.2 kB / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.8286, allocations: 0 / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.8286, allocations: 0 / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8286, allocations: 5.594 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.8288, allocations: 51.78 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.8291, allocations: 250.2 kB / 0.9557 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.8292, allocations: 43.44 kB / 0.9558 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.8292, allocations: 5.188 kB / 0.9558 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8292, allocations: 38.55 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.8292, allocations: 1 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.8296, allocations: 94.95 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.8296, allocations: 60.34 kB / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.8296, allocations: 104.2 kB / 0.9561 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.8297, allocations: 25.7 kB / 0.9561 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.8297, allocations: 89.39 kB / 0.9562 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.8297, allocations: 4.969 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.8297, allocations: 0 / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.8297, allocations: 320 kB / 0.9565 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.8298, allocations: 22.05 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.8299, allocations: 18.48 kB / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.83, allocations: 25.52 kB / 0.9566 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.83, allocations: 1.125 kB / 0.9566 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.8302, allocations: 73.94 kB / 0.9566 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8302, allocations: 6.969 kB / 0.9566 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.8302, allocations: 4.031 kB / 0.9566 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.8302, allocations: 0 / 0.9566 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.8303, allocations: 17.28 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8303, allocations: 3.938 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.8304, allocations: 9.703 kB / 0.9567 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.8304, allocations: 1.406 kB / 0.9567 GB, free: 5.461 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 (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 5.403e-05/0.8304, allocations: 115.3 kB / 0.9568 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.8305, allocations: 5.375 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.8305, allocations: 4.688 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8305, allocations: 0 / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8305, allocations: 3.953 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8305, allocations: 1.312 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.8306, allocations: 161.9 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.8306, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.8307, allocations: 8.875 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8307, allocations: 4 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.8307, allocations: 5.109 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8307, allocations: 0 / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8307, allocations: 3.938 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.8309, allocations: 169.6 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.8309, allocations: 86.47 kB / 0.9572 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.831, allocations: 4 kB / 0.9572 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.831, allocations: 9.938 kB / 0.9572 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.8311, allocations: 5.391 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.8311, allocations: 1.188 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.8311, allocations: 83.56 kB / 0.9573 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8311, allocations: 4.031 kB / 0.9573 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.8313, allocations: 7.672 kB / 0.9573 GB, free: 4.766 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 (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.0003711/0.8317, allocations: 0.702 MB / 0.958 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.8319, allocations: 54.48 kB / 0.9581 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8319, allocations: 0 / 0.9581 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.832, allocations: 24.39 kB / 0.9581 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.8322, allocations: 6.156 kB / 0.9581 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.8325, allocations: 135.7 kB / 0.9582 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.8326, allocations: 0.6821 MB / 0.9589 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.8326, allocations: 1.25 kB / 0.9589 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.8327, allocations: 12.77 kB / 0.9589 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8327, allocations: 0 / 0.9589 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009823/0.8425, allocations: 1.017 MB / 0.9599 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.8427, allocations: 198.2 kB / 0.9601 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.525, allocations: 4 kB / 0.9601 GB, free: 2.48 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat