Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001871/0.001871, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002295/0.002295, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7916 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 73.61 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002319/0.3394, allocations: 0.6287 MB / 1.321 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3408, allocations: 0.8514 MB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3408, allocations: 4 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.3408, allocations: 0 / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.3409, allocations: 7.938 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3411, allocations: 4 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.4e-05/0.3412, allocations: 23.92 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.3412, allocations: 3.938 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3414, allocations: 19.91 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.3415, allocations: 8 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3415, allocations: 0 / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.3415, allocations: 4 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.3415, allocations: 7.938 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3416, allocations: 11.98 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3417, allocations: 24.12 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3417, allocations: 4 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3417, allocations: 0 / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3417, allocations: 0 / 1.322 GB, free: 1.688 MB / 1.014 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.0005512/0.3423, allocations: 327.5 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3423, allocations: 11.98 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.3424, allocations: 34.75 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.3426, allocations: 12.94 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3427, allocations: 172.3 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3427, allocations: 384 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3428, allocations: 384 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3429, allocations: 38.19 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3429, allocations: 3.938 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3429, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3429, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.343, allocations: 19.98 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3432, allocations: 153.7 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.3433, allocations: 22.61 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3434, allocations: 16.84 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3434, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3434, allocations: 38.44 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3434, allocations: 4 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002404/0.3436, allocations: 53.62 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3437, allocations: 51.41 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3438, allocations: 105.8 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3438, allocations: 25.7 kB / 1.323 GB, free: 420 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3439, allocations: 84.14 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3439, allocations: 0 / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.3439, allocations: 21.83 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3441, allocations: 310.8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.3442, allocations: 8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.3442, allocations: 11.92 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.3443, allocations: 20.84 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3443, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.3444, allocations: 49.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3444, allocations: 7.938 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3444, allocations: 0 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3444, allocations: 0 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.3445, allocations: 4 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3445, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.3445, allocations: 3.984 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3445, allocations: 4 kB / 1.324 GB, free: 15.86 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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 9.02e-05/0.3446, allocations: 109.8 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.3446, allocations: 7.969 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.3447, allocations: 7.125 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3447, allocations: 3.938 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3447, allocations: 256 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3447, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3448, allocations: 157.7 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3448, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.3449, allocations: 3.984 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.3449, allocations: 7.938 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3449, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3449, allocations: 4 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3449, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.345, allocations: 69.06 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.3451, allocations: 92.97 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3451, allocations: 7.938 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.3451, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.3452, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3452, allocations: 7.969 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.3452, allocations: 87.27 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001756/0.3454, allocations: 3.938 kB / 1.325 GB, free: 15.2 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0005609/0.3459, allocations: 0.6047 MB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3461, allocations: 19.98 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3461, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.3461, allocations: 11.92 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3463, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.3468, allocations: 137 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3471, allocations: 0.6807 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.3471, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3472, allocations: 11.44 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3472, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3728, allocations: 1.123 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.352, allocations: 5.891 kB / 1.327 GB, free: 12.61 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 15.088495712960139]