Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001804/0.001804, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.002167/0.002167, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] 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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.91 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.357, allocations: 160.7 MB / 1.213 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005553/0.3626, allocations: 3.13 MB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003251/0.3659, allocations: 1.737 MB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.366, allocations: 11.94 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.3671, allocations: 338.3 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.3676, allocations: 219.1 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.3681, allocations: 167.6 kB / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.3686, allocations: 327 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.3689, allocations: 189 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.3691, allocations: 135.6 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.3695, allocations: 179.4 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3695, allocations: 20 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.37, allocations: 239.5 kB / 1.219 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3701, allocations: 107.7 kB / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3703, allocations: 131.3 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.3708, allocations: 414.5 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3708, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3709, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3709, allocations: 4 kB / 1.22 GB, free: 10.13 MB / 0.9669 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.001131/0.372, allocations: 0.5454 MB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.372, allocations: 19.91 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.678e-05/0.3721, allocations: 62.7 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/0.3729, allocations: 100.6 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.3733, allocations: 258 kB / 1.221 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3733, allocations: 16.81 kB / 1.221 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3734, allocations: 28.55 kB / 1.221 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.3741, allocations: 376.9 kB / 1.221 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3741, allocations: 4 kB / 1.221 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3741, allocations: 4 kB / 1.221 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.3742, allocations: 28.42 kB / 1.221 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.3749, allocations: 313.5 kB / 1.222 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3771, allocations: 1.526 MB / 1.223 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3776, allocations: 210.5 kB / 1.223 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.3778, allocations: 104.8 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.3781, allocations: 93.06 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3781, allocations: 42.81 kB / 1.224 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.3781, allocations: 4 kB / 1.224 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001452/0.3796, allocations: 0.7883 MB / 1.224 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3796, allocations: 55.41 kB / 1.224 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3799, allocations: 186.7 kB / 1.225 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.38, allocations: 37.64 kB / 1.225 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3801, allocations: 160.2 kB / 1.225 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.3802, allocations: 79.31 kB / 1.225 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3803, allocations: 53.7 kB / 1.225 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3805, allocations: 330.8 kB / 1.225 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3807, allocations: 115.9 kB / 1.225 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.3809, allocations: 167.5 kB / 1.226 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3814, allocations: 300.5 kB / 1.226 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3814, allocations: 0 / 1.226 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007914/0.3822, allocations: 418 kB / 1.226 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3822, allocations: 8 kB / 1.226 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3822, allocations: 0 / 1.226 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.3827, allocations: 108.9 kB / 1.226 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.383, allocations: 47.91 kB / 1.226 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.3855, allocations: 1.887 MB / 1.228 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.3858, allocations: 15.92 kB / 1.228 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3858, allocations: 8 kB / 1.228 GB, free: 1.105 MB / 0.9669 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.0001924/0.386, allocations: 164.1 kB / 1.228 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.3861, allocations: 15.91 kB / 1.228 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.3867, allocations: 293.4 kB / 1.229 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3867, allocations: 4 kB / 1.229 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.3867, allocations: 192 / 1.229 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.3867, allocations: 15.86 kB / 1.229 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3877, allocations: 0.7044 MB / 1.229 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3877, allocations: 0 / 1.229 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.3881, allocations: 55.95 kB / 1.229 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.3881, allocations: 7.938 kB / 1.229 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3881, allocations: 0 / 1.229 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3881, allocations: 4 kB / 1.229 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3881, allocations: 0 / 1.229 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.3888, allocations: 0.5189 MB / 1.23 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3889, allocations: 121 kB / 1.23 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.389, allocations: 7.938 kB / 1.23 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3891, allocations: 11.98 kB / 1.23 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3892, allocations: 15.97 kB / 1.23 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3892, allocations: 4 kB / 1.23 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001545/0.3894, allocations: 152.1 kB / 1.23 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3894, allocations: 0 / 1.23 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003759/0.3897, allocations: 68 kB / 1.23 GB, free: 14.85 MB / 0.9825 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.001087/0.3908, allocations: 1.071 MB / 1.231 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.3917, allocations: 406.3 kB / 1.232 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3917, allocations: 0 / 1.232 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3918, allocations: 114.3 kB / 1.232 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3923, allocations: 40.47 kB / 1.232 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.3968, allocations: 2.884 MB / 1.235 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.3975, allocations: 0.7714 MB / 1.235 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.3977, allocations: 65.89 kB / 1.236 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3978, allocations: 75.34 kB / 1.236 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.3978, allocations: 0 / 1.236 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.4313, allocations: 5.126 MB / 1.241 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.7, allocations: 15.8 kB / 1.241 GB, free: 4.281 MB / 0.9825 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.775639784988016]