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.001571/0.001571, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001802/0.001802, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.293/3.293, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002102/0.002102, allocations: 65.3 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.009863/0.4006, allocations: 3.097 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006334/0.4069, allocations: 1.691 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.4072, allocations: 7.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.4088, allocations: 331.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009703/0.4097, allocations: 211.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.4108, allocations: 186.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.4118, allocations: 319 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006938/0.4125, allocations: 173.5 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.4131, allocations: 151.5 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.4136, allocations: 159.4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.4137, allocations: 23.98 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.4144, allocations: 215.5 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.4146, allocations: 107.7 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.4148, allocations: 95.59 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4158, allocations: 430.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4158, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4158, allocations: 8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.4159, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 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.001814/0.4177, allocations: 485.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4177, allocations: 8.031 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.419, allocations: 92.69 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.4195, allocations: 207.1 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.4196, allocations: 16.81 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4197, allocations: 36.5 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4209, allocations: 424.1 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4209, allocations: 0 / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.421, allocations: 15.97 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.4211, allocations: 32.36 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.4218, allocations: 305.5 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.4243, allocations: 1.039 MB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.425, allocations: 214.3 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.4252, allocations: 104.7 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.4253, allocations: 11.98 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.4254, allocations: 38.56 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.385e-06/0.4254, allocations: 0 / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001908/0.4273, allocations: 0.7154 MB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4274, allocations: 55.41 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.4277, allocations: 194.7 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.4277, allocations: 29.64 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.4279, allocations: 164.5 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.428, allocations: 75.38 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4282, allocations: 53.7 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.4284, allocations: 326.8 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.4287, allocations: 111.9 kB / 1.337 GB, free: 5.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.429, allocations: 173.9 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.4297, allocations: 304 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4297, allocations: 0 / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001258/0.431, allocations: 410 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.431, allocations: 7.938 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.431, allocations: 8.172 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.4316, allocations: 96.77 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4319, allocations: 51.91 kB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.435, allocations: 1.745 MB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4353, allocations: 16.02 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.4353, allocations: 8 kB / 1.34 GB, free: 2.832 MB / 1.029 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.0002654/0.4356, allocations: 161.7 kB / 1.34 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.4357, allocations: 15.91 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007932/0.4365, allocations: 303.2 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4365, allocations: 7.938 kB / 1.34 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4365, allocations: 0 / 1.34 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4365, allocations: 0 / 1.34 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4379, allocations: 0.61 MB / 1.341 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4379, allocations: 4 kB / 1.341 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.4384, allocations: 55.89 kB / 1.341 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4384, allocations: 8.062 kB / 1.341 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4384, allocations: 4 kB / 1.341 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4384, allocations: 4 kB / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4384, allocations: 0 / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4394, allocations: 0.5183 MB / 1.341 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.4396, allocations: 35.92 kB / 1.341 GB, free: 1.039 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.4396, allocations: 3.984 kB / 1.341 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.4399, allocations: 15.98 kB / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.44, allocations: 15.86 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.44, allocations: 12 kB / 1.342 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002212/0.4402, allocations: 140.3 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4402, allocations: 4 kB / 1.342 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006607/0.4409, allocations: 64 kB / 1.342 GB, free: 0.7891 MB / 1.029 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.0002038/0.4411, allocations: 107.2 kB / 1.342 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.4421, allocations: 406.8 kB / 1.342 GB, free: 272 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4422, allocations: 0 / 1.342 GB, free: 272 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.4424, allocations: 111.8 kB / 1.342 GB, free: 160 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.443, allocations: 44.84 kB / 1.342 GB, free: 116 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.4448, allocations: 0.6301 MB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.445, allocations: 165.1 kB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.4453, allocations: 53.91 kB / 1.343 GB, free: 15.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.4454, allocations: 23.42 kB / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of SimCode: time 6.42e-07/0.4454, allocations: 0 / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of Templates: time 0.01023/0.4556, allocations: 3.006 MB / 1.346 GB, free: 12.23 MB / 1.045 GB " [Timeout remaining time 300] 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 -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/jenkins/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.482111832126975]