Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001368/0.001368, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001512/0.001512, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.734/2.734, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 59.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.178, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.0039/1.182, allocations: 3.095 MB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002386/1.184, allocations: 1.686 MB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/1.184, allocations: 5.656 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009869/1.185, allocations: 336.2 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004822/1.186, allocations: 222.4 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/1.186, allocations: 177 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/1.186, allocations: 318.8 kB / 1.16 GB, free: 29.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/1.187, allocations: 168.3 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/1.187, allocations: 143.5 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/1.187, allocations: 161.4 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/1.187, allocations: 24.47 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/1.188, allocations: 228.6 kB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.091e-05/1.188, allocations: 96.72 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/1.188, allocations: 112.4 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/1.188, allocations: 420.8 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.188, allocations: 3.031 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/1.188, allocations: 0 / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.188, allocations: 0 / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008006/1.189, allocations: 492 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/1.189, allocations: 8.625 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006917/1.19, allocations: 101.1 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/1.19, allocations: 193.9 kB / 1.162 GB, free: 28.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.19, allocations: 21.45 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/1.19, allocations: 23.11 kB / 1.162 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/1.191, allocations: 435.2 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.191, allocations: 0 / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/1.191, allocations: 6.812 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/1.191, allocations: 35.34 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/1.191, allocations: 306.1 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/1.193, allocations: 1.039 MB / 1.163 GB, free: 27.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/1.193, allocations: 211.7 kB / 1.164 GB, free: 27.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/1.193, allocations: 108.1 kB / 1.164 GB, free: 27.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/1.193, allocations: 15.66 kB / 1.164 GB, free: 27.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.193, allocations: 41.22 kB / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/1.193, allocations: 0 / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001034/1.194, allocations: 0.7185 MB / 1.165 GB, free: 27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/1.194, allocations: 54.19 kB / 1.165 GB, free: 26.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.194, allocations: 193.5 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.194, allocations: 33.64 kB / 1.165 GB, free: 26.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/1.194, allocations: 162.4 kB / 1.165 GB, free: 26.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/1.195, allocations: 78.73 kB / 1.165 GB, free: 26.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/1.195, allocations: 55.11 kB / 1.165 GB, free: 26.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/1.195, allocations: 327 kB / 1.165 GB, free: 26.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.195, allocations: 112.9 kB / 1.165 GB, free: 26.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/1.195, allocations: 174 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/1.195, allocations: 298.9 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.195, allocations: 2.406 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006291/1.196, allocations: 412.5 kB / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.196, allocations: 11.81 kB / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.196, allocations: 0 / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/1.196, allocations: 105.8 kB / 1.166 GB, free: 25.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/1.197, allocations: 50.53 kB / 1.166 GB, free: 25.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.198, allocations: 1.742 MB / 1.168 GB, free: 24.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/1.198, allocations: 19.3 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/1.198, allocations: 11.2 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.198, allocations: 163.2 kB / 1.168 GB, free: 24.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/1.198, allocations: 15.78 kB / 1.168 GB, free: 24.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/1.199, allocations: 300.6 kB / 1.169 GB, free: 23.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.199, allocations: 2.625 kB / 1.169 GB, free: 23.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/1.199, allocations: 0 / 1.169 GB, free: 23.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.199, allocations: 0 / 1.169 GB, free: 23.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/1.199, allocations: 0.6045 MB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.199, allocations: 0 / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/1.2, allocations: 56.64 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.2, allocations: 2.875 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.2, allocations: 5.906 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.2, allocations: 4.062 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.2, allocations: 2.719 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/1.2, allocations: 0.5199 MB / 1.17 GB, free: 23.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/1.2, allocations: 40.3 kB / 1.17 GB, free: 23.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/1.2, allocations: 11.41 kB / 1.17 GB, free: 23.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.201, allocations: 11.03 kB / 1.17 GB, free: 23.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/1.201, allocations: 19.81 kB / 1.17 GB, free: 23.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.201, allocations: 5.094 kB / 1.17 GB, free: 23.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9e-05/1.201, allocations: 142.5 kB / 1.17 GB, free: 23.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.201, allocations: 2.156 kB / 1.17 GB, free: 23.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003364/1.201, allocations: 69.34 kB / 1.17 GB, free: 23.14 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001284/1.201, allocations: 109.6 kB / 1.17 GB, free: 23.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005983/1.202, allocations: 401.9 kB / 1.171 GB, free: 22.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.202, allocations: 0 / 1.171 GB, free: 22.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/1.202, allocations: 117.6 kB / 1.171 GB, free: 22.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/1.202, allocations: 35.22 kB / 1.171 GB, free: 22.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/1.203, allocations: 0.63 MB / 1.171 GB, free: 22.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/1.203, allocations: 162.6 kB / 1.172 GB, free: 22.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000169/1.204, allocations: 57.05 kB / 1.172 GB, free: 22.31 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/1.204, allocations: 22.83 kB / 1.172 GB, free: 22.3 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.204, allocations: 0 / 1.172 GB, free: 22.3 MB / 1.076 GB Notification: Performance of Templates: time 0.006534/1.21, allocations: 2.755 MB / 1.174 GB, free: 21.99 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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: 9.236799955018796]