Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.0007876/0.0007876, 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.001064/0.001064, allocations: 165.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.9113/0.9113, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.74/1.74, 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.Reals.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.407e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001455/0.001479, allocations: 0.6705 MB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.002306, allocations: 0.8354 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.002338, allocations: 4 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.002365, allocations: 3.938 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.002426, allocations: 7.922 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.002617, allocations: 15.92 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.002685, allocations: 23.92 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.002774, allocations: 4 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.002841, allocations: 19.98 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.002876, allocations: 11.88 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.002891, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.765e-05/0.002939, allocations: 11.97 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002952, allocations: 4 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.002968, allocations: 4 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003072, allocations: 27.95 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003074, allocations: 0 / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003075, allocations: 0 / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.003079, allocations: 0 / 0.9826 GB, free: 0.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006727/0.003752, allocations: 274.2 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.003796, allocations: 8.031 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.003828, allocations: 30.75 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.003902, allocations: 12.89 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.003984, allocations: 101.8 kB / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.003996, allocations: 4.375 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.004007, allocations: 4.375 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.004154, allocations: 50.23 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004163, allocations: 192 / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.004172, allocations: 384 / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004179, allocations: 8.125 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.00427, allocations: 39.89 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.004564, allocations: 208 kB / 0.9833 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.004659, allocations: 38.58 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.004706, allocations: 20.91 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.004726, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.004751, allocations: 46.38 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004752, allocations: 4 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.004981, allocations: 81.64 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.005013, allocations: 51.41 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/0.005078, allocations: 101.8 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.005088, allocations: 25.7 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.005124, allocations: 88.08 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.005142, allocations: 7.953 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.005169, allocations: 17.84 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.005243, allocations: 314.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.005287, allocations: 15.97 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.005321, allocations: 15.98 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.005399, allocations: 40.77 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005401, allocations: 0 / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.005505, allocations: 73.66 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.005518, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005523, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005534, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.0056, allocations: 11.98 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005604, allocations: 3.938 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.005628, allocations: 7.984 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005633, allocations: 0 / 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 (2): * Single equations (assignments): 2 * 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 5.397e-05/0.005687, allocations: 117.9 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.005709, allocations: 3.938 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.00589, allocations: 72.91 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.005894, allocations: 4 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005898, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005901, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.006021, allocations: 124.7 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006022, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.00606, allocations: 16.02 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.006064, allocations: 3.938 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.00607, allocations: 4 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.006073, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006074, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.006206, allocations: 167.4 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.006213, allocations: 7.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.006222, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.00626, allocations: 12.02 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.006291, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.006294, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.006321, allocations: 83.28 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006321, allocations: 3.938 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001412/0.006462, allocations: 4 kB / 0.9849 GB, free: 14.32 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 (2): * Single equations (assignments): 2 * 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.0003493/0.006812, allocations: 0.6968 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.006943, allocations: 39.94 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006945, allocations: 0 / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.006988, allocations: 23.97 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.007219, allocations: 4 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.007575, allocations: 130.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.00762, allocations: 59.47 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.00764, allocations: 8 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.007675, allocations: 8.5 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.007675, allocations: 3.938 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02377, allocations: 1.948 MB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.78, allocations: 6.172 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_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_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sin1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv. Warning: Get data of variable sin1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.04472881834954]