Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.0008717/0.0008718, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008679/0.000868, allocations: 168.7 kB / 15.95 MB, free: 204 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.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.344 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.479/2.479, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003967, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8154, allocations: 142.3 MB / 0.9539 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.0006686/0.8161, allocations: 308.5 kB / 0.9542 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.928e-05/0.8162, allocations: 4 kB / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.8162, allocations: 1.5 kB / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.8162, allocations: 0 / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.8162, allocations: 0 / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.532e-05/0.8163, allocations: 0 / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.188e-05/0.8163, allocations: 1.344 kB / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.565e-05/0.8164, allocations: 1.344 kB / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.8164, allocations: 0 / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.8164, allocations: 3.984 kB / 0.9542 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.8165, allocations: 1.094 kB / 0.9542 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-06/0.8165, allocations: 4 kB / 0.9542 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.8165, allocations: 0 / 0.9542 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.8165, allocations: 27.02 kB / 0.9542 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.946e-05/0.8165, allocations: 3.984 kB / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8166, allocations: 4.688 kB / 0.9542 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8166, allocations: 0 / 0.9542 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.8166, allocations: 0 / 0.9542 GB, free: 7.879 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.0001599/0.8167, allocations: 309.5 kB / 0.9545 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8168, allocations: 9.938 kB / 0.9545 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.199e-05/0.8168, allocations: 30.56 kB / 0.9546 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.8168, allocations: 7.953 kB / 0.9546 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.783e-05/0.8169, allocations: 164.4 kB / 0.9547 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.8169, allocations: 0 / 0.9547 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.8169, allocations: 0 / 0.9547 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/0.817, allocations: 28.52 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.817, allocations: 0 / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.817, allocations: 3.938 kB / 0.9548 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.817, allocations: 0 / 0.9548 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.817, allocations: 9.391 kB / 0.9548 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.488e-05/0.8171, allocations: 151.1 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.929e-05/0.8172, allocations: 20.97 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.8172, allocations: 7.578 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.8172, allocations: 0 / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.8172, allocations: 32.06 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.8172, allocations: 0 / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.8173, allocations: 41.73 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.8174, allocations: 51.41 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.292e-05/0.8174, allocations: 91.33 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.8174, allocations: 25.7 kB / 0.9552 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-06/0.8174, allocations: 84.08 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.8174, allocations: 4.594 kB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-06/0.8174, allocations: 0 / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.8175, allocations: 320.1 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-06/0.8175, allocations: 0 / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.8175, allocations: 5.625 kB / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.681e-05/0.8175, allocations: 1.594 kB / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8175, allocations: 0 / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.463e-05/0.8176, allocations: 38.89 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8176, allocations: 5.062 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.8176, allocations: 0 / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.8176, allocations: 1.344 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.8177, allocations: 1.25 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8177, allocations: 4 kB / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.8177, allocations: 5.438 kB / 0.9556 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8177, allocations: 3.984 kB / 0.9556 GB, free: 6.273 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 5.022e-05/0.8178, allocations: 115 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.8178, allocations: 1.031 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.8178, allocations: 3.125 kB / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.8178, allocations: 0 / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8178, allocations: 1.156 kB / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.8178, allocations: 0 / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.216e-05/0.8179, allocations: 147 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.8179, allocations: 7.938 kB / 0.9559 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.8179, allocations: 9.953 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8179, allocations: 0 / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.8179, allocations: 1.156 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.8179, allocations: 0 / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8179, allocations: 1.375 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.916e-05/0.818, allocations: 58.38 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.818, allocations: 79.36 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.818, allocations: 9.203 kB / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.818, allocations: 0 / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.818, allocations: 5.188 kB / 0.956 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.8181, allocations: 0 / 0.956 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.8181, allocations: 75.28 kB / 0.9561 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8181, allocations: 1.188 kB / 0.9561 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.8183, allocations: 1.219 kB / 0.9561 GB, free: 5.691 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.000247/0.8186, allocations: 0.5972 MB / 0.9567 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.736e-05/0.8186, allocations: 7.281 kB / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8186, allocations: 3.938 kB / 0.9567 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.8186, allocations: 2.594 kB / 0.9567 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.8188, allocations: 3.281 kB / 0.9567 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.8191, allocations: 115 kB / 0.9568 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.854e-05/0.8192, allocations: 0.6708 MB / 0.9575 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.203e-05/0.8192, allocations: 3.984 kB / 0.9575 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.8192, allocations: 7.438 kB / 0.9575 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8192, allocations: 0 / 0.9575 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.8296, allocations: 0.7419 MB / 0.9582 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.8298, allocations: 209.6 kB / 0.9584 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.51, allocations: 4 kB / 0.9584 GB, free: 3.68 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat does not exist to compare? outputFormat=mat