Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008388/0.0008388, 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.0009092/0.0009092, 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.9192/0.9192, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.759/1.759, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.332e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001172/0.001195, allocations: 0.5621 MB / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.093e-05/0.001236, allocations: 4 kB / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.001261, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.001288, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.001317, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.709e-05/0.001354, allocations: 4 kB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.001421, allocations: 4 kB / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.001474, allocations: 0 / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.001513, allocations: 7.922 kB / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.234e-05/0.001536, allocations: 0 / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.001558, allocations: 0 / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.001562, allocations: 0 / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.001576, allocations: 4 kB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.001596, allocations: 0 / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.964e-05/0.001665, allocations: 4 kB / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.00167, allocations: 3.938 kB / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.001671, allocations: 4 kB / 0.9815 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.001677, allocations: 0 / 0.9815 GB, free: 1.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002618/0.001938, allocations: 238.4 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.001985, allocations: 12.03 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.002014, allocations: 30.75 kB / 0.9818 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.002034, allocations: 0.9375 kB / 0.9818 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.002108, allocations: 101.8 kB / 0.9819 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.002118, allocations: 384 / 0.9819 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.002128, allocations: 8.375 kB / 0.9819 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.002212, allocations: 26.27 kB / 0.9819 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.00222, allocations: 8.188 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.002228, allocations: 384 / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.002235, allocations: 8.109 kB / 0.982 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.002253, allocations: 7.938 kB / 0.982 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.002537, allocations: 350.6 kB / 0.9823 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.894e-05/0.002606, allocations: 165.1 kB / 0.9825 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.002635, allocations: 84.08 kB / 0.9825 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.00266, allocations: 79.28 kB / 0.9826 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.002695, allocations: 113.7 kB / 0.9827 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.002696, allocations: 0 / 0.9827 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 6.094e-05/0.002757, allocations: 33.69 kB / 0.9828 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.002807, allocations: 134.7 kB / 0.9829 GB, free: 460 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.002875, allocations: 89.86 kB / 0.983 GB, free: 360 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.002885, allocations: 29.7 kB / 0.983 GB, free: 324 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.002908, allocations: 80.14 kB / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.00291, allocations: 0 / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.002926, allocations: 9.719 kB / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.003024, allocations: 310.8 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.003031, allocations: 4 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-06/0.003035, allocations: 4 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.003061, allocations: 83.34 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.003081, allocations: 79.27 kB / 0.9835 GB, free: 15.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.303e-05/0.003124, allocations: 33.64 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.003156, allocations: 79.28 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.003182, allocations: 75.28 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.971e-05/0.003232, allocations: 162.4 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.003251, allocations: 75.28 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/0.003284, allocations: 154.5 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.003329, allocations: 75.28 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.003353, allocations: 87.27 kB / 0.9843 GB, free: 15 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 (0): * Single equations (assignments): 0 * 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 8.001e-05/0.003433, allocations: 260.4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.003472, allocations: 116.9 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.003505, allocations: 104.1 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/0.003546, allocations: 180.4 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/0.003587, allocations: 188.2 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-05/0.003624, allocations: 180.3 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.003759, allocations: 372.2 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/0.00378, allocations: 101 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.003804, allocations: 108.9 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.026e-05/0.003844, allocations: 188.2 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.003882, allocations: 176.3 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.708e-05/0.003919, allocations: 184.2 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.632e-05/0.003956, allocations: 180.3 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.004188, allocations: 307.8 kB / 0.9868 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.004219, allocations: 108.9 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.004263, allocations: 184.2 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.004313, allocations: 113 kB / 0.9872 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.004355, allocations: 180.2 kB / 0.9873 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.004379, allocations: 108.9 kB / 0.9874 GB, free: 11.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.977e-05/0.004409, allocations: 79.28 kB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004409, allocations: 0 / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001638/0.004573, allocations: 8.094 kB / 0.9875 GB, free: 11.45 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 (0): * Single equations (assignments): 0 * 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.0002672/0.00484, allocations: 0.8047 MB / 0.9883 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.898e-05/0.004879, allocations: 0 / 0.9883 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00488, allocations: 0 / 0.9883 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.004881, allocations: 0 / 0.9883 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.005119, allocations: 462.7 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.005868, allocations: 1.521 MB / 0.9902 GB, free: 8.562 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.005907, allocations: 59.39 kB / 0.9903 GB, free: 8.484 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.855e-06/0.005915, allocations: 4 kB / 0.9903 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.005944, allocations: 12.44 kB / 0.9903 GB, free: 8.469 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.005944, allocations: 0 / 0.9903 GB, free: 8.469 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.01999, allocations: 1.536 MB / 0.9918 GB, free: 7.055 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.708, allocations: 9.703 kB / 0.9918 GB, free: 7.055 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.86817536316812]