Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.0008105/0.0008105, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008709/0.0008711, allocations: 172.7 kB / 15.95 MB, free: 208 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.293 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003723, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7312, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.001065/0.7323, allocations: 401.8 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.7334, allocations: 0.8181 MB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.7334, allocations: 4 kB / 0.9551 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.7334, allocations: 3.938 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.7335, allocations: 1.344 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.7337, allocations: 7.688 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.7338, allocations: 30.33 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.7339, allocations: 6.328 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.7339, allocations: 12.69 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.734, allocations: 16.38 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.734, allocations: 1 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.734, allocations: 6.469 kB / 0.9551 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.7341, allocations: 9.109 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.7341, allocations: 26.89 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.627e-05/0.7342, allocations: 24.27 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.7342, allocations: 0 / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7342, allocations: 1.281 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7342, allocations: 0 / 0.9552 GB, free: 7 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.000522/0.7347, allocations: 357.7 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.7348, allocations: 9.469 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.7348, allocations: 42.48 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.7349, allocations: 6.734 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.735, allocations: 172.4 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.735, allocations: 1.062 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.735, allocations: 1.344 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.7353, allocations: 76.25 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.7353, allocations: 3.984 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.7353, allocations: 1.156 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7353, allocations: 0 / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.7356, allocations: 80.52 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.736, allocations: 273.9 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.7361, allocations: 71.16 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7363, allocations: 45.3 kB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.7363, allocations: 5.453 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.7363, allocations: 34.56 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7363, allocations: 0 / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004405/0.7368, allocations: 145.2 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.7368, allocations: 55.34 kB / 0.9565 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.7369, allocations: 110.1 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.7369, allocations: 25.7 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.7369, allocations: 81.39 kB / 0.9567 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.737, allocations: 9.25 kB / 0.9567 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.737, allocations: 4 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.737, allocations: 316 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.7371, allocations: 36.41 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7373, allocations: 51.78 kB / 0.9571 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.7374, allocations: 39.44 kB / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7374, allocations: 0 / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002459/0.7377, allocations: 102.3 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.7377, allocations: 102.8 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7377, allocations: 0 / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7377, allocations: 1.25 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7379, allocations: 20.81 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7379, allocations: 4.031 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.7379, allocations: 24.95 kB / 0.9574 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.738, allocations: 1.156 kB / 0.9574 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.311e-06/0.738, allocations: 4.094 kB / 0.9574 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001455/0.7381, allocations: 49.67 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.7381, allocations: 1.062 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-06/0.7381, allocations: 0 / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.7382, allocations: 8.844 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-06/0.7382, allocations: 0 / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.7383, allocations: 13.2 kB / 0.9575 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-06/0.7383, allocations: 4.031 kB / 0.9575 GB, free: 4.918 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 7.344e-05/0.7383, allocations: 191.3 kB / 0.9577 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.7384, allocations: 9.891 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.7384, allocations: 4.594 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7384, allocations: 3.938 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.7384, allocations: 1.125 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7384, allocations: 0 / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.7386, allocations: 167.6 kB / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7386, allocations: 0 / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.7386, allocations: 21.77 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7387, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7387, allocations: 1.25 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7387, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7387, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.739, allocations: 205.2 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.739, allocations: 81.02 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.739, allocations: 1.312 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.7391, allocations: 23.05 kB / 0.9582 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.7392, allocations: 0.9688 kB / 0.9582 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.7392, allocations: 0.9688 kB / 0.9582 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.7392, allocations: 92.23 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7392, allocations: 0 / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002612/0.7395, allocations: 6.344 kB / 0.9583 GB, free: 4.129 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.0005534/0.7401, allocations: 0.7364 MB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.7404, allocations: 106.7 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7405, allocations: 0 / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.7406, allocations: 38.5 kB / 0.9591 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7409, allocations: 18.3 kB / 0.9591 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.7414, allocations: 164 kB / 0.9593 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.7415, allocations: 0.677 MB / 0.9599 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.7415, allocations: 2.031 kB / 0.96 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.7416, allocations: 17.36 kB / 0.96 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7416, allocations: 0 / 0.96 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.752, allocations: 1.208 MB / 0.9611 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.7522, allocations: 191.7 kB / 0.9613 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.42, allocations: 4 kB / 0.9613 GB, free: 1.688 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat does not exist to compare? outputFormat=mat