Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000892/0.000892, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.2e-06/5.2e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/4.016e-05, allocations: 6.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002341/0.002381, allocations: 0.7026 MB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003834, allocations: 0.8237 MB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.003891, allocations: 0 / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.00393, allocations: 7.984 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.004026, allocations: 11.86 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.091e-05/0.004107, allocations: 11.98 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.004215, allocations: 43.86 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.004357, allocations: 7.984 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.004459, allocations: 23.98 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.004504, allocations: 11.98 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.004531, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.004542, allocations: 4 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.004561, allocations: 11.92 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.004589, allocations: 15.98 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.0047, allocations: 51.73 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.004704, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.894e-06/0.004706, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004711, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004711/0.005183, allocations: 286.2 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.005233, allocations: 8.031 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.005271, allocations: 34.73 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.0053, allocations: 8.891 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.005402, allocations: 113.8 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.005421, allocations: 4.375 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.005433, allocations: 384 / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.005693, allocations: 70.22 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005704, allocations: 192 / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005716, allocations: 384 / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.005723, allocations: 4.125 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.005946, allocations: 71.86 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.006401, allocations: 236 kB / 0.9835 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.006585, allocations: 50.55 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.006699, allocations: 44.84 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.006715, allocations: 7.922 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.006745, allocations: 38.56 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 2.225e-06/0.006747, allocations: 3.938 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004369/0.007184, allocations: 125.6 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.007224, allocations: 51.41 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.007309, allocations: 109.8 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.007322, allocations: 25.7 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.007371, allocations: 100.1 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.007393, allocations: 7.906 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.007428, allocations: 13.72 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.007527, allocations: 318.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.007634, allocations: 31.97 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.007723, allocations: 31.95 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.007913, allocations: 72.73 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007916, allocations: 0 / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002433/0.008159, allocations: 101.5 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.008179, allocations: 4 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.008185, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.008202, allocations: 4 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.008317, allocations: 15.98 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.008323, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.008378, allocations: 15.94 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.008386, allocations: 0 / 0.9846 GB, free: 14.6 MB / 0.948 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.00846, allocations: 113.8 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.008485, allocations: 7.922 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.008509, allocations: 4 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.008513, allocations: 7.938 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.008518, allocations: 4 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008522, allocations: 0 / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.008699, allocations: 132.8 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008701, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.008773, allocations: 15.92 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008775, allocations: 4 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.008784, allocations: 3.984 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.008788, allocations: 4 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.00879, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.00903, allocations: 195.4 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.009039, allocations: 7.938 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.00905, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.009098, allocations: 15.97 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.009138, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.009141, allocations: 3.938 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.009181, allocations: 99.5 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.009181, allocations: 7.938 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001378/0.009319, allocations: 11.94 kB / 0.9852 GB, free: 13.9 MB / 0.948 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.009871, allocations: 0.7284 MB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.01005, allocations: 71.91 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01006, allocations: 4 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.01012, allocations: 35.91 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01038, allocations: 8 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01076, allocations: 146.4 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.01081, allocations: 75.28 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.01084, allocations: 0 / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.01088, allocations: 16.48 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.01088, allocations: 0 / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.02818, allocations: 2.313 MB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.738, allocations: 11.27 kB / 0.9886 GB, free: 10.56 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.00177020020783]