Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001311/0.001312, allocations: 192.1 kB / 16.14 MB, free: 6.711 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5126, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001546/0.5142, allocations: 0.6729 MB / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005627/0.5148, allocations: 0.8047 MB / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.5148, allocations: 0 / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.5149, allocations: 0 / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.5149, allocations: 5.031 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.515, allocations: 13.2 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.5151, allocations: 19.11 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.5151, allocations: 6.25 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.5152, allocations: 16.36 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.5153, allocations: 3.344 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.5153, allocations: 0 / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.5153, allocations: 1.188 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.5153, allocations: 1.062 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.5153, allocations: 9.297 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.712e-05/0.5154, allocations: 19.75 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5154, allocations: 1.125 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5154, allocations: 3.938 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.5154, allocations: 4 kB / 0.9506 GB, free: 7.855 MB / 0.7169 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.0002916/0.5157, allocations: 331 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5158, allocations: 8.844 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.5158, allocations: 31.94 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.5158, allocations: 2.094 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.261e-05/0.5159, allocations: 173.5 kB / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.5159, allocations: 384 / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.5159, allocations: 1.5 kB / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.516, allocations: 39.94 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.516, allocations: 3.938 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.516, allocations: 0 / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.516, allocations: 0 / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.5161, allocations: 20.36 kB / 0.9512 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.5162, allocations: 153.1 kB / 0.9513 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.5163, allocations: 20.11 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.5163, allocations: 21.31 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.5163, allocations: 0 / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.5164, allocations: 31.69 kB / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.5164, allocations: 0 / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.5165, allocations: 57.31 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.5166, allocations: 56.8 kB / 0.9515 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.5166, allocations: 103.1 kB / 0.9516 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.5166, allocations: 26.89 kB / 0.9516 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.5167, allocations: 81.45 kB / 0.9517 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.5167, allocations: 0 / 0.9517 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.5167, allocations: 16.2 kB / 0.9517 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.5168, allocations: 314.8 kB / 0.952 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.5168, allocations: 4.438 kB / 0.952 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.5168, allocations: 8.828 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.895e-05/0.5169, allocations: 25.84 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5169, allocations: 5.188 kB / 0.9521 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.872e-05/0.517, allocations: 53.06 kB / 0.9521 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.517, allocations: 13.69 kB / 0.9521 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.517, allocations: 0 / 0.9521 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.517, allocations: 0 / 0.9521 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.5171, allocations: 3.344 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5171, allocations: 1.062 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.5171, allocations: 13.27 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.5172, allocations: 1.344 kB / 0.9522 GB, free: 6.152 MB / 0.7169 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.109e-05/0.5172, allocations: 107 kB / 0.9523 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.5172, allocations: 5.312 kB / 0.9523 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.5172, allocations: 3.125 kB / 0.9523 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5172, allocations: 1.125 kB / 0.9523 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5173, allocations: 0 / 0.9523 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5173, allocations: 1.062 kB / 0.9523 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.202e-05/0.5173, allocations: 156.5 kB / 0.9524 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5173, allocations: 3.984 kB / 0.9524 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.5174, allocations: 2.656 kB / 0.9524 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5174, allocations: 5.469 kB / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5174, allocations: 0 / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5174, allocations: 5.312 kB / 0.9524 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5174, allocations: 0 / 0.9524 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.575e-05/0.5175, allocations: 77.7 kB / 0.9525 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.5175, allocations: 78.61 kB / 0.9526 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.5175, allocations: 3.938 kB / 0.9526 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.5176, allocations: 3.062 kB / 0.9526 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.5176, allocations: 4 kB / 0.9526 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5176, allocations: 1.438 kB / 0.9526 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.5176, allocations: 82.2 kB / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5176, allocations: 1.312 kB / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001717/0.5178, allocations: 2.469 kB / 0.9527 GB, free: 5.559 MB / 0.7169 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.0002738/0.5181, allocations: 0.6197 MB / 0.9533 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.598e-05/0.5182, allocations: 14.52 kB / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5182, allocations: 0 / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.5182, allocations: 9.219 kB / 0.9533 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.5184, allocations: 9.328 kB / 0.9533 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.5186, allocations: 138.5 kB / 0.9535 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.5187, allocations: 0.6764 MB / 0.9541 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.5188, allocations: 0 / 0.9541 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.5188, allocations: 12.62 kB / 0.9541 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.5188, allocations: 8 kB / 0.9541 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.5949, allocations: 0.9546 MB / 0.9551 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.595, allocations: 216.8 kB / 0.9553 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.115, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches