Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.0008217/0.0008219, allocations: 84.38 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.001058/0.001058, 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.566/2.566, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 15.98 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8119, allocations: 146.8 MB / 0.9812 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.000892/0.8128, allocations: 390.5 kB / 0.9815 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.8137, allocations: 0.8414 MB / 0.9824 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.8138, allocations: 0 / 0.9824 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.8138, allocations: 0 / 0.9824 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.8139, allocations: 0 / 0.9824 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.814, allocations: 11.94 kB / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.8141, allocations: 23.91 kB / 0.9824 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.8142, allocations: 4 kB / 0.9824 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.8143, allocations: 11.92 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.8143, allocations: 8 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.8143, allocations: 0 / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.8144, allocations: 4 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.8144, allocations: 11.92 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.8144, allocations: 29.64 kB / 0.9825 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.206e-05/0.8145, allocations: 15.97 kB / 0.9825 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.8145, allocations: 0 / 0.9825 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8145, allocations: 0 / 0.9825 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8145, allocations: 0 / 0.9825 GB, free: 4.938 MB / 0.7325 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.0004834/0.815, allocations: 341.6 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.815, allocations: 8.031 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.8151, allocations: 34.56 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.8151, allocations: 0 / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.8153, allocations: 159.1 kB / 0.983 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.8153, allocations: 0 / 0.983 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.8153, allocations: 4 kB / 0.983 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.8155, allocations: 69.55 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8155, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.8155, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8156, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.8157, allocations: 43.95 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.8161, allocations: 256.9 kB / 0.9833 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.8163, allocations: 42.56 kB / 0.9834 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.8164, allocations: 36.78 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.8164, allocations: 0 / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.8164, allocations: 34.56 kB / 0.9835 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8164, allocations: 0 / 0.9835 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003494/0.8168, allocations: 97.64 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8169, allocations: 51.41 kB / 0.9836 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.8169, allocations: 101.8 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.817, allocations: 25.7 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.817, allocations: 84.14 kB / 0.9838 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.8171, allocations: 7.969 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.8171, allocations: 7.938 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8172, allocations: 318.8 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.8173, allocations: 19.98 kB / 0.9841 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.8174, allocations: 23.97 kB / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.8175, allocations: 24.05 kB / 0.9842 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8175, allocations: 0 / 0.9842 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.8177, allocations: 81.61 kB / 0.9843 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8177, allocations: 4 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8177, allocations: 0 / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8177, allocations: 4 kB / 0.9843 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.8178, allocations: 12 kB / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.8178, allocations: 0 / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.8179, allocations: 11.98 kB / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.8179, allocations: 7.938 kB / 0.9843 GB, free: 2.836 MB / 0.7325 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 9.511e-05/0.818, allocations: 109.9 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.818, allocations: 7.891 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.818, allocations: 7.109 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8181, allocations: 4 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8181, allocations: 0 / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8181, allocations: 0 / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.8182, allocations: 157.7 kB / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8183, allocations: 0 / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.8183, allocations: 15.98 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8183, allocations: 0 / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.8183, allocations: 3.953 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8183, allocations: 0 / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8184, allocations: 4 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.8186, allocations: 171.4 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.8186, allocations: 77.11 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8187, allocations: 0 / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.8187, allocations: 19.94 kB / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.8188, allocations: 0 / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.8188, allocations: 0 / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.8189, allocations: 91.42 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8189, allocations: 0 / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002073/0.8191, allocations: 4 kB / 0.9849 GB, free: 2.086 MB / 0.7325 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.0005869/0.8197, allocations: 0.7048 MB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.8199, allocations: 43.97 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8199, allocations: 4.094 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.82, allocations: 31.91 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.8202, allocations: 3.953 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.8207, allocations: 135.5 kB / 0.9858 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.8209, allocations: 0.681 MB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.821, allocations: 4 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.821, allocations: 11.44 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.821, allocations: 0 / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.8331, allocations: 1.018 MB / 0.9875 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.8333, allocations: 185.4 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.624, allocations: 0 / 0.9877 GB, free: 15.25 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat does not exist to compare? outputFormat=mat