Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001426/0.001426, allocations: 101.8 kB / 17.54 MB, free: 4.781 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.001408/0.001408, allocations: 182 kB / 20.71 MB, free: 1.625 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.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.91 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7137, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004122/0.7179, allocations: 3.208 MB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.7203, allocations: 1.778 MB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.7205, allocations: 4.25 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009058/0.7214, allocations: 351.1 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.7219, allocations: 210.7 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.7224, allocations: 186 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.7228, allocations: 317.7 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.7231, allocations: 162.3 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.7233, allocations: 142.1 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.7236, allocations: 165.9 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.7236, allocations: 20.66 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.724, allocations: 255.2 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.7241, allocations: 101.8 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.7243, allocations: 125.8 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.7248, allocations: 427.2 kB / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7248, allocations: 0.7031 kB / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7248, allocations: 0 / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.7248, allocations: 0.8438 kB / 1.279 GB, free: 3.375 MB / 0.9981 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.0008517/0.7256, allocations: 0.5615 MB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7257, allocations: 9.562 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.7257, allocations: 58.16 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.7265, allocations: 92.08 kB / 1.279 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.7267, allocations: 253.7 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7267, allocations: 21.33 kB / 1.28 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.7268, allocations: 29.52 kB / 1.28 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.7274, allocations: 376.7 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7274, allocations: 1 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.7275, allocations: 6.812 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.7276, allocations: 30.34 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.7281, allocations: 308.7 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.7295, allocations: 1.528 MB / 1.282 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.7299, allocations: 220.8 kB / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.73, allocations: 102.1 kB / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.7301, allocations: 90.12 kB / 1.282 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.7302, allocations: 41.19 kB / 1.282 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.7302, allocations: 0 / 1.282 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001089/0.7313, allocations: 0.7914 MB / 1.283 GB, free: 244 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.7313, allocations: 57.5 kB / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7314, allocations: 192.5 kB / 1.283 GB, free: 44 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.7314, allocations: 29.7 kB / 1.283 GB, free: 8 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.7316, allocations: 166.8 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.7316, allocations: 70.31 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7317, allocations: 62.45 kB / 1.284 GB, free: 15.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7319, allocations: 331.9 kB / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.7321, allocations: 120.3 kB / 1.284 GB, free: 15.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.7323, allocations: 169.4 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.7327, allocations: 296.7 kB / 1.284 GB, free: 15.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7327, allocations: 0 / 1.284 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007358/0.7334, allocations: 413.7 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7334, allocations: 11.59 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7334, allocations: 1.531 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.7338, allocations: 95.48 kB / 1.285 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.7341, allocations: 51.58 kB / 1.285 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.7361, allocations: 1.88 MB / 1.287 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.7363, allocations: 19.84 kB / 1.287 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.7364, allocations: 10.59 kB / 1.287 GB, free: 13.34 MB / 1.014 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.0001976/0.7366, allocations: 154.9 kB / 1.287 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.7366, allocations: 16.11 kB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.7371, allocations: 304.6 kB / 1.287 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7371, allocations: 2.656 kB / 1.287 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.7371, allocations: 0 / 1.287 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.7371, allocations: 6.5 kB / 1.287 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.7381, allocations: 0.7027 MB / 1.288 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7381, allocations: 0 / 1.288 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.7383, allocations: 61.42 kB / 1.288 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.7384, allocations: 10 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7384, allocations: 3.125 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.7384, allocations: 1.844 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7384, allocations: 1.188 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.739, allocations: 0.5146 MB / 1.289 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7391, allocations: 119.8 kB / 1.289 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.7392, allocations: 8.094 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.7393, allocations: 9.234 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.7394, allocations: 18.58 kB / 1.289 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.7394, allocations: 9 kB / 1.289 GB, free: 12.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001505/0.7395, allocations: 146.3 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.7395, allocations: 1.719 kB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003784/0.7399, allocations: 65.45 kB / 1.289 GB, free: 12.04 MB / 1.014 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.0009705/0.7409, allocations: 1.071 MB / 1.29 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007455/0.7416, allocations: 407 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7416, allocations: 1.062 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.7418, allocations: 108.3 kB / 1.29 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.7422, allocations: 40.33 kB / 1.29 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.746, allocations: 2.907 MB / 1.293 GB, free: 8.984 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.7464, allocations: 0.7731 MB / 1.294 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.7466, allocations: 58.94 kB / 1.294 GB, free: 8.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7467, allocations: 69.69 kB / 1.294 GB, free: 8.219 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/0.7467, allocations: 0 / 1.294 GB, free: 8.219 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.7799, allocations: 5.108 MB / 1.299 GB, free: 7.602 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.128/9.908, allocations: 8.469 kB / 1.299 GB, free: 7.598 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.232166256995697]