Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_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.001127/0.001127, allocations: 98.92 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.00134/0.001341, 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.385/1.385, 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.428/2.428, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005568, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8281, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0008059/0.829, allocations: 391.8 kB / 0.954 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.8297, allocations: 0.7831 MB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.8297, allocations: 0.9688 kB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.8297, allocations: 0 / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.8298, allocations: 8.984 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.8299, allocations: 9.453 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.83, allocations: 17.42 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.8301, allocations: 5.328 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.8301, allocations: 6.969 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.8302, allocations: 11.67 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.8302, allocations: 0 / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.8302, allocations: 1.25 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-06/0.8302, allocations: 1.25 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.8302, allocations: 35.05 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.428e-05/0.8303, allocations: 11 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.8303, allocations: 0 / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8303, allocations: 0 / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.8303, allocations: 1.156 kB / 0.9549 GB, free: 7.086 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.0003171/0.8306, allocations: 333.1 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.8307, allocations: 10.12 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.8307, allocations: 38.56 kB / 0.9552 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.8307, allocations: 5.484 kB / 0.9552 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.8308, allocations: 164.8 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.8308, allocations: 3.938 kB / 0.9554 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.8308, allocations: 1.031 kB / 0.9554 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.831, allocations: 54.7 kB / 0.9554 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.831, allocations: 3.938 kB / 0.9554 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.831, allocations: 0 / 0.9554 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.831, allocations: 5.031 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.8312, allocations: 43.64 kB / 0.9555 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.8315, allocations: 249.6 kB / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.8316, allocations: 51.25 kB / 0.9558 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.8316, allocations: 1.062 kB / 0.9558 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.8316, allocations: 31.59 kB / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8317, allocations: 0 / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.832, allocations: 106.8 kB / 0.9559 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.832, allocations: 51.41 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.8321, allocations: 107.4 kB / 0.9561 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.8321, allocations: 29.83 kB / 0.9561 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.8321, allocations: 81.45 kB / 0.9562 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.8321, allocations: 9.344 kB / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.8321, allocations: 0 / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.8322, allocations: 316.1 kB / 0.9565 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.8323, allocations: 17.33 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.8324, allocations: 30.03 kB / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.8324, allocations: 17.95 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8324, allocations: 1.188 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.8326, allocations: 78.41 kB / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8327, allocations: 3.969 kB / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8327, allocations: 4.984 kB / 0.9566 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.8327, allocations: 0 / 0.9566 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.8328, allocations: 16.5 kB / 0.9566 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8328, allocations: 5.25 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.8328, allocations: 17.38 kB / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.8329, allocations: 0.9688 kB / 0.9567 GB, free: 5.262 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 4.469e-05/0.8329, allocations: 107.3 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.8329, allocations: 1.406 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.8331, allocations: 88.45 kB / 0.9568 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8332, allocations: 3.984 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.8332, allocations: 4.703 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8332, allocations: 0 / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.8333, allocations: 154.4 kB / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8333, allocations: 0 / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.8334, allocations: 13.48 kB / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.8334, allocations: 4.031 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.8334, allocations: 0 / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8334, allocations: 1.438 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8334, allocations: 3.938 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.8336, allocations: 188.3 kB / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.8336, allocations: 78.58 kB / 0.9573 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.8336, allocations: 0 / 0.9573 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.8337, allocations: 10.55 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.8338, allocations: 1.156 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.8338, allocations: 1.281 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.8338, allocations: 82.7 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8338, allocations: 32 / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.834, allocations: 11.7 kB / 0.9574 GB, free: 4.52 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.0003927/0.8344, allocations: 0.7038 MB / 0.9581 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.8346, allocations: 50.77 kB / 0.9581 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8346, allocations: 1.062 kB / 0.9581 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.8347, allocations: 24.02 kB / 0.9581 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.8349, allocations: 3.297 kB / 0.9581 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.8353, allocations: 135.1 kB / 0.9583 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.8354, allocations: 0.6787 MB / 0.9589 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.8354, allocations: 4.062 kB / 0.9589 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.8355, allocations: 12.75 kB / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8355, allocations: 0 / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.8457, allocations: 0.9972 MB / 0.9599 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.8459, allocations: 180.6 kB / 0.9601 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.437, allocations: 1.188 kB / 0.9601 GB, free: 2.242 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat does not exist to compare? outputFormat=mat