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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006938/0.006938, allocations: 100.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 187.3 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002801/0.3498, allocations: 0.6634 MB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3514, allocations: 0.8121 MB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.3514, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.3515, allocations: 3.938 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.3516, allocations: 7.938 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3518, allocations: 15.97 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.3519, allocations: 23.92 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3521, allocations: 4 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.3521, allocations: 11.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.3522, allocations: 11.94 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3523, allocations: 0 / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.3523, allocations: 4 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.3523, allocations: 7.922 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.3524, allocations: 11.94 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3525, allocations: 27.89 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3525, allocations: 4 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3525, allocations: 0 / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.3525, allocations: 0 / 1.168 GB, free: 5.605 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.0006046/0.3531, allocations: 338.2 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.3532, allocations: 12.03 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.3533, allocations: 30.75 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3533, allocations: 0.9375 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3535, allocations: 164.4 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3535, allocations: 8.375 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3536, allocations: 384 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3538, allocations: 50.23 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3538, allocations: 3.938 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3538, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3538, allocations: 3.984 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.3541, allocations: 35.91 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3546, allocations: 253 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3548, allocations: 34.5 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.355, allocations: 20.91 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.355, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.355, allocations: 34.56 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3551, allocations: 4 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004893/0.3555, allocations: 85.48 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3556, allocations: 55.41 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3557, allocations: 101.8 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3558, allocations: 25.7 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.3558, allocations: 80.27 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3559, allocations: 12.47 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3559, allocations: 13.72 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3561, allocations: 314.8 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3562, allocations: 19.98 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3564, allocations: 11.98 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3566, allocations: 48.81 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3566, allocations: 7.875 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000328/0.357, allocations: 57.67 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.357, allocations: 8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.357, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3571, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3572, allocations: 7.984 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3572, allocations: 8.031 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.3573, allocations: 16.2 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3573, allocations: 0 / 1.17 GB, free: 3.543 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 0.0001127/0.3575, allocations: 116.6 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3575, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3578, allocations: 76.72 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3579, allocations: 4.031 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3579, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3579, allocations: 3.984 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3581, allocations: 157.6 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3581, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.3582, allocations: 15.98 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3583, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.3583, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3583, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3583, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.3587, allocations: 175.3 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3588, allocations: 81.11 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3588, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3589, allocations: 7.984 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3589, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.359, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.359, allocations: 83.31 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.359, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003341/0.3594, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 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.0005459/0.3599, allocations: 0.7007 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3601, allocations: 39.91 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3601, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.3602, allocations: 15.98 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3605, allocations: 7.922 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.361, allocations: 147.8 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3613, allocations: 0.6806 MB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.3613, allocations: 0 / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3613, allocations: 7.438 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3613, allocations: 0 / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.379, allocations: 1.264 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.869, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches