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.0008139/0.0008139, 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.0008944/0.0008944, 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.734/1.734, allocations: 377.8 MB / 0.6221 GB, free: 8.633 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.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: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.695e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001352/0.001379, allocations: 0.6233 MB / 0.9816 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.002173, allocations: 0.8354 MB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.002203, allocations: 0 / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.002229, allocations: 0 / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.002276, allocations: 11.92 kB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.002463, allocations: 15.92 kB / 0.9825 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.002527, allocations: 23.86 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.002569, allocations: 0 / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.002712, allocations: 15.98 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.002759, allocations: 4 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.002773, allocations: 0 / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.002812, allocations: 11.94 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.002822, allocations: 3.984 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.00284, allocations: 11.92 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.524e-05/0.002935, allocations: 15.98 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.002939, allocations: 3.984 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00294, allocations: 0 / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002943, allocations: 4 kB / 0.9825 GB, free: 0.9492 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.0003069/0.00325, allocations: 254.3 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.003289, allocations: 8.031 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.003316, allocations: 30.75 kB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.003419, allocations: 16.88 kB / 0.9828 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.003496, allocations: 109.8 kB / 0.9829 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.003505, allocations: 384 / 0.9829 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.003512, allocations: 4.375 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.003605, allocations: 38.25 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003612, allocations: 4.188 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.00362, allocations: 384 / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.003625, allocations: 4.125 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.003664, allocations: 15.92 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.003783, allocations: 120.8 kB / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.003832, allocations: 30.55 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.003862, allocations: 12.92 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.003876, allocations: 3.938 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.003895, allocations: 34.56 kB / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.003896, allocations: 0 / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.004044, allocations: 57.61 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.004073, allocations: 55.34 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.004142, allocations: 105.8 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004152, allocations: 29.7 kB / 0.9834 GB, free: 15.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.004178, allocations: 80.14 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.004197, allocations: 8.078 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.004222, allocations: 17.72 kB / 0.9835 GB, free: 15.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.004296, allocations: 314.8 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.004326, allocations: 4 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.004344, allocations: 8 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.004387, allocations: 16.84 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004389, allocations: 4 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.216e-05/0.004461, allocations: 57.67 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004474, allocations: 4 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004479, allocations: 0 / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.004492, allocations: 0 / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.004554, allocations: 7.938 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004558, allocations: 0 / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.004572, allocations: 0 / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.004577, allocations: 4 kB / 0.9839 GB, free: 15.32 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 (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 5.397e-05/0.004631, allocations: 109.8 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.004636, allocations: 0 / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.004653, allocations: 15.19 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004655, allocations: 0 / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.00466, allocations: 3.938 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.004663, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.004729, allocations: 120.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.004729, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.004747, allocations: 4.25 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004748, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.004754, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.004755, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.004757, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.18e-05/0.004838, allocations: 85 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.004844, allocations: 0 / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.004852, allocations: 0 / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.004864, allocations: 4 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.00489, allocations: 3.938 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.004894, allocations: 11.92 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.004921, allocations: 83.22 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004921, allocations: 0 / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00012/0.005041, allocations: 4 kB / 0.9844 GB, free: 14.8 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 (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.0002759/0.005317, allocations: 0.6109 MB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.0054, allocations: 19.98 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005401, allocations: 0 / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.005419, allocations: 4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.005529, allocations: 7.938 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.005833, allocations: 130.6 kB / 0.9851 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.005871, allocations: 67.28 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.005896, allocations: 0 / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.005929, allocations: 12.5 kB / 0.9852 GB, free: 13.87 MB / 0.948 GB Notification: Performance of SimCode: time 3.21e-07/0.00593, allocations: 0 / 0.9852 GB, free: 13.87 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02247, allocations: 1.757 MB / 0.9869 GB, free: 12.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.701, allocations: 16.52 kB / 0.9869 GB, free: 12.23 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.702245278283954]