Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 59.91 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8976, allocations: 160.7 MB / 1.213 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001884/0.8995, allocations: 0.6792 MB / 1.214 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.9005, allocations: 0.8081 MB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.9006, allocations: 1.031 kB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.9006, allocations: 3.938 kB / 1.214 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.9006, allocations: 5.125 kB / 1.214 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.9008, allocations: 9.297 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.9009, allocations: 25.56 kB / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.9009, allocations: 10.17 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.901, allocations: 11.22 kB / 1.214 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.901, allocations: 7.203 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.9011, allocations: 2.125 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.9011, allocations: 2.094 kB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.9011, allocations: 7.984 kB / 1.215 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.9011, allocations: 10.69 kB / 1.215 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.698e-05/0.9012, allocations: 26.06 kB / 1.215 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9012, allocations: 0 / 1.215 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9012, allocations: 1.031 kB / 1.215 GB, free: 2.746 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.9012, allocations: 4 kB / 1.215 GB, free: 2.742 MB / 0.92 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.0004647/0.9017, allocations: 339.1 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9017, allocations: 13.53 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.9018, allocations: 31.44 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.9018, allocations: 2.5 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.9019, allocations: 169.7 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.9019, allocations: 1.156 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.9019, allocations: 1.844 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.9021, allocations: 53.64 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9021, allocations: 3.938 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.9021, allocations: 0 / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.9021, allocations: 1.062 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.9023, allocations: 34.27 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.9026, allocations: 245.7 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.9028, allocations: 50.2 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.9029, allocations: 25.73 kB / 1.215 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.9029, allocations: 1.062 kB / 1.215 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.9029, allocations: 35.62 kB / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9029, allocations: 0 / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.9032, allocations: 88.39 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.9033, allocations: 52.16 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.9034, allocations: 94.83 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.9034, allocations: 29.7 kB / 1.216 GB, free: 1.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.9034, allocations: 85.28 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.9035, allocations: 5.016 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.9035, allocations: 16.06 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9036, allocations: 315.8 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.9037, allocations: 13.3 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.162e-05/0.9038, allocations: 25.62 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.9039, allocations: 36.17 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9039, allocations: 8 kB / 1.216 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.9041, allocations: 71.92 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.9041, allocations: 5.812 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.9041, allocations: 0 / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.9041, allocations: 0 / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.9042, allocations: 10.45 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.9042, allocations: 0 / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.9043, allocations: 8.688 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.9043, allocations: 0 / 1.216 GB, free: 0.8789 MB / 0.92 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 8.271e-05/0.9044, allocations: 116.8 kB / 1.216 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.9044, allocations: 5.266 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.9046, allocations: 70.69 kB / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9046, allocations: 0 / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.9046, allocations: 5.188 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9046, allocations: 4.031 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.9048, allocations: 157.6 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9048, allocations: 0 / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.9049, allocations: 10.39 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9049, allocations: 1.156 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9049, allocations: 0 / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9049, allocations: 0 / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9049, allocations: 0.9375 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.9051, allocations: 167.2 kB / 1.217 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.9052, allocations: 86.09 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.9052, allocations: 7.922 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.9052, allocations: 4.281 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.9053, allocations: 5.062 kB / 1.217 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.9053, allocations: 1.188 kB / 1.217 GB, free: 220 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.9053, allocations: 82.3 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.9053, allocations: 4.031 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002147/0.9055, allocations: 3.156 kB / 1.217 GB, free: 136 kB / 0.92 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.0005992/0.9061, allocations: 0.6922 MB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.9063, allocations: 45.14 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9063, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.9064, allocations: 19.27 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.9067, allocations: 2.406 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.9071, allocations: 151.7 kB / 1.218 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.9074, allocations: 0.6805 MB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.9075, allocations: 1.344 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.9075, allocations: 12.38 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9075, allocations: 0 / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.9319, allocations: 1.272 MB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.126, allocations: 7.672 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.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: 14.93590717529878]