Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.0008492/0.0008492, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008172/0.0008172, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8682/0.8682, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.746/1.746, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.438e-05, allocations: 4.953 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001302/0.001326, allocations: 0.5634 MB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.15e-05/0.001368, allocations: 7.984 kB / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.001392, allocations: 0 / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.001419, allocations: 0 / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.508e-05/0.001444, allocations: 0 / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.818e-05/0.001472, allocations: 3.938 kB / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.001526, allocations: 4 kB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.001577, allocations: 8 kB / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.001606, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.001624, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.001642, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.001646, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.001658, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.001676, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.062e-05/0.001737, allocations: 11.92 kB / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.001739, allocations: 0 / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00174, allocations: 0 / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.001744, allocations: 0 / 0.9816 GB, free: 1.973 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.0002366/0.00198, allocations: 234.5 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.002033, allocations: 12.03 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.002065, allocations: 30.75 kB / 0.9818 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.002085, allocations: 8.922 kB / 0.9818 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.002158, allocations: 101.8 kB / 0.9819 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.002168, allocations: 384 / 0.9819 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-06/0.002174, allocations: 384 / 0.9819 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.002251, allocations: 30.27 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.002257, allocations: 192 / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.002265, allocations: 384 / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.00227, allocations: 8.062 kB / 0.982 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.002287, allocations: 7.984 kB / 0.982 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.002562, allocations: 358.6 kB / 0.9823 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.747e-05/0.00263, allocations: 165.1 kB / 0.9825 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.002653, allocations: 84.14 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.002674, allocations: 79.22 kB / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.002708, allocations: 117.7 kB / 0.9827 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.002709, allocations: 0 / 0.9827 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 0.0003078/0.003016, allocations: 25.7 kB / 0.9828 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.003059, allocations: 126.7 kB / 0.9829 GB, free: 464 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.003128, allocations: 105.8 kB / 0.983 GB, free: 348 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.003135, allocations: 25.7 kB / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.003157, allocations: 80.14 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.00316, allocations: 4 kB / 0.9831 GB, free: 228 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.003176, allocations: 9.719 kB / 0.9831 GB, free: 212 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.00326, allocations: 310.8 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.003264, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.003269, allocations: 3.938 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.003289, allocations: 83.28 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.003306, allocations: 75.28 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.685e-05/0.003343, allocations: 29.64 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.003372, allocations: 95.33 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.003391, allocations: 75.28 kB / 0.9837 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/0.003435, allocations: 158.5 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.003451, allocations: 79.28 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/0.003486, allocations: 154.5 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.003531, allocations: 75.28 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.003549, allocations: 75.28 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.208e-05/0.003631, allocations: 264.3 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.003673, allocations: 116.9 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.003707, allocations: 108.1 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.003748, allocations: 184.4 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.149e-05/0.003789, allocations: 176.3 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.503e-05/0.003834, allocations: 188.2 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.003977, allocations: 372.3 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.004003, allocations: 105 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.004028, allocations: 104.9 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.633e-05/0.004075, allocations: 184.2 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.004118, allocations: 184.2 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-05/0.004156, allocations: 176.3 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-05/0.004197, allocations: 180.3 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.004303, allocations: 311.7 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.004343, allocations: 112.9 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.004391, allocations: 176.3 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.004438, allocations: 113 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.004483, allocations: 180.2 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.004509, allocations: 105 kB / 0.9874 GB, free: 11.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.004543, allocations: 79.28 kB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004543, allocations: 3.938 kB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001606/0.004703, allocations: 0 / 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.0002858/0.004989, allocations: 0.8127 MB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.664e-05/0.005026, allocations: 4 kB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005028, allocations: 0 / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.005029, allocations: 0 / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.005282, allocations: 455.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.001142/0.006424, allocations: 1.525 MB / 0.9902 GB, free: 8.551 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.00646, allocations: 51.36 kB / 0.9903 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.776e-06/0.006469, allocations: 7.938 kB / 0.9903 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.006493, allocations: 8.5 kB / 0.9903 GB, free: 8.465 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.006494, allocations: 96 / 0.9903 GB, free: 8.465 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02226, allocations: 1.549 MB / 0.9918 GB, free: 7.039 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.703, allocations: 12.34 kB / 0.9918 GB, free: 7.035 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.732519157230854]