Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001483/0.001483, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.0016/0.0016, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.455/2.455, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 68.03 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7334, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001507/0.7349, allocations: 0.684 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.7356, allocations: 0.8097 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.7356, allocations: 2.516 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.7356, allocations: 1.344 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.7357, allocations: 8.594 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.7358, allocations: 4.797 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.7359, allocations: 28.16 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.7359, allocations: 7.5 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.736, allocations: 9.703 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.736, allocations: 13.98 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.736, allocations: 2.094 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-06/0.7361, allocations: 2.031 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.7361, allocations: 9.875 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.7361, allocations: 2.859 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.161e-05/0.7362, allocations: 27.3 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7362, allocations: 4 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7362, allocations: 0 / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7362, allocations: 0.9062 kB / 1.273 GB, free: 6.602 MB / 0.9981 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.0003318/0.7365, allocations: 332.2 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7365, allocations: 9.969 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.7366, allocations: 35.64 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.7366, allocations: 10.61 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.967e-05/0.7366, allocations: 167.5 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7366, allocations: 4.844 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.7367, allocations: 1.781 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.7368, allocations: 48.69 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.7368, allocations: 4.781 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.7368, allocations: 4.609 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7368, allocations: 0.875 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.737, allocations: 32.39 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.7372, allocations: 246.3 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.7373, allocations: 43.95 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.7374, allocations: 27.7 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.7374, allocations: 0.75 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.7374, allocations: 31.88 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7374, allocations: 0 / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.7378, allocations: 87.86 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.7378, allocations: 56.16 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.7378, allocations: 101.2 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.7378, allocations: 26.39 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.7379, allocations: 85.45 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.7379, allocations: 6.125 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.7379, allocations: 13 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.7379, allocations: 316.9 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.738, allocations: 21.33 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.7381, allocations: 19.77 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.7382, allocations: 36.41 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7382, allocations: 3.938 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.7384, allocations: 70.98 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.7384, allocations: 6.219 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7384, allocations: 0 / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.7384, allocations: 0.6875 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.7385, allocations: 8.781 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7385, allocations: 1 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.7386, allocations: 7.688 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.7386, allocations: 0 / 1.275 GB, free: 4.844 MB / 0.9981 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 3.704e-05/0.7386, allocations: 115.9 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.7386, allocations: 5 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.7388, allocations: 71.94 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7388, allocations: 0 / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7388, allocations: 0.9688 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7388, allocations: 1.031 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.7389, allocations: 158.9 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7389, allocations: 2.625 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.739, allocations: 12.25 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.739, allocations: 4.75 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.739, allocations: 0 / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.739, allocations: 4.797 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.739, allocations: 3.938 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.7392, allocations: 170.9 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.7392, allocations: 78.02 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.7392, allocations: 4.125 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.7393, allocations: 3.656 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.7393, allocations: 2.219 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7393, allocations: 4.688 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.939e-05/0.7393, allocations: 86.12 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7393, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001983/0.7395, allocations: 3.906 kB / 1.276 GB, free: 4.141 MB / 0.9981 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.0003497/0.7399, allocations: 0.6953 MB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.7401, allocations: 38.8 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7401, allocations: 0 / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.722e-05/0.7402, allocations: 24.66 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.7404, allocations: 9.656 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.7407, allocations: 145.7 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.245e-05/0.7408, allocations: 0.6752 MB / 1.277 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.7408, allocations: 4.969 kB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.7409, allocations: 12.5 kB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.7409, allocations: 0 / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.7618, allocations: 1.254 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.77, allocations: 4.406 kB / 1.278 GB, free: 18.23 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.97249087199998]