Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001413/0.001413, allocations: 99.86 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.001437/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 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.674/1.674, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.843/2.843, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005948, allocations: 19.98 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.144, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001281/1.145, allocations: 424 kB / 0.9813 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001529/1.147, allocations: 0.8235 MB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/1.147, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/1.147, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/1.147, allocations: 11.91 kB / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/1.147, allocations: 19.92 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/1.147, allocations: 23.97 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/1.148, allocations: 8 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/1.148, allocations: 15.92 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.148, allocations: 31.89 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/1.148, allocations: 0 / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/1.148, allocations: 4 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/1.148, allocations: 4 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/1.148, allocations: 33.64 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/1.148, allocations: 27.92 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/1.148, allocations: 0 / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.225e-06/1.148, allocations: 0 / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.158e-06/1.148, allocations: 3.938 kB / 0.9823 GB, free: 4.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007039/1.149, allocations: 351.1 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/1.149, allocations: 16.02 kB / 0.9826 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/1.149, allocations: 34.56 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/1.149, allocations: 3.906 kB / 0.9826 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/1.149, allocations: 171 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/1.149, allocations: 0 / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/1.149, allocations: 4 kB / 0.9828 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/1.15, allocations: 81.61 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.15, allocations: 7.922 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.15, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.15, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/1.15, allocations: 55.95 kB / 0.983 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/1.151, allocations: 292.8 kB / 0.9832 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/1.151, allocations: 70.5 kB / 0.9833 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/1.151, allocations: 15.98 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.151, allocations: 30.56 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/1.151, allocations: 3.938 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007328/1.152, allocations: 125.8 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.152, allocations: 51.41 kB / 0.9835 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/1.152, allocations: 113.8 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.152, allocations: 25.7 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/1.152, allocations: 84.14 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/1.152, allocations: 19.73 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/1.152, allocations: 0 / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.153, allocations: 318.8 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.153, allocations: 35.97 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.153, allocations: 23.98 kB / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.153, allocations: 31.97 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.153, allocations: 0 / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004584/1.154, allocations: 97.61 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.154, allocations: 4 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.154, allocations: 0 / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.154, allocations: 0 / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.154, allocations: 19.98 kB / 0.9843 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.154, allocations: 3.984 kB / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.154, allocations: 8 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.154, allocations: 0 / 0.9843 GB, free: 2.586 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001325/1.154, allocations: 121.8 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/1.154, allocations: 7.859 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/1.154, allocations: 15.91 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.154, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.154, allocations: 3.938 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.154, allocations: 0 / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/1.155, allocations: 173.7 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.155, allocations: 4 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/1.155, allocations: 11.98 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.155, allocations: 3.953 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/1.155, allocations: 4 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.155, allocations: 0 / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.155, allocations: 7.938 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/1.156, allocations: 191.5 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/1.156, allocations: 81.02 kB / 0.9849 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/1.156, allocations: 11.89 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.156, allocations: 11.98 kB / 0.9849 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/1.156, allocations: 11.98 kB / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.156, allocations: 0 / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.739e-05/1.156, allocations: 83.52 kB / 0.985 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.1e-07/1.156, allocations: 0 / 0.985 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004124/1.157, allocations: 12 kB / 0.985 GB, free: 1.746 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0009234/1.157, allocations: 0.722 MB / 0.9857 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004274/1.158, allocations: 75.88 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.158, allocations: 0 / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.158, allocations: 31.98 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.159, allocations: 19.94 kB / 0.9858 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/1.16, allocations: 474.3 kB / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/1.161, allocations: 0.6887 MB / 0.9869 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.046e-05/1.161, allocations: 8 kB / 0.9869 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/1.161, allocations: 15.42 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/1.161, allocations: 4 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/1.18, allocations: 1.481 MB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/1.181, allocations: 185.8 kB / 0.9886 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.499, allocations: 0 / 0.9886 GB, free: 14.03 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat does not exist to compare? outputFormat=mat