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.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.00173/0.00173, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002379/0.002379, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.779/2.779, allocations: 476 MB / 0.7699 GB, free: 4.688 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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: 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.002069/0.002069, allocations: 66.5 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00529/0.2752, allocations: 3.103 MB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.2784, allocations: 1.687 MB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.2786, allocations: 7.938 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2798, allocations: 329.2 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.2803, allocations: 219 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2808, allocations: 175.6 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.2813, allocations: 323 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.2816, allocations: 173 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2819, allocations: 143.5 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.2823, allocations: 167.4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.2823, allocations: 20 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.2827, allocations: 219.6 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2829, allocations: 103.7 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.283, allocations: 111.6 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.2836, allocations: 420.2 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2836, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2836, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2836, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 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.001032/0.2846, allocations: 493.3 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2847, allocations: 12.03 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/0.2848, allocations: 66.64 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007633/0.2855, allocations: 96.69 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.2859, allocations: 190.2 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.2859, allocations: 20.8 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.286, allocations: 24.52 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.2867, allocations: 435.9 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2867, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2867, allocations: 12 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.2868, allocations: 24.42 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.2873, allocations: 305.5 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.289, allocations: 1.093 MB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.2895, allocations: 218.3 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2896, allocations: 104.8 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-05/0.2897, allocations: 4 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2897, allocations: 42.55 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2897, allocations: 0 / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001257/0.291, allocations: 0.7157 MB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.291, allocations: 51.41 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2913, allocations: 204.2 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2913, allocations: 25.7 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2914, allocations: 164.2 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2915, allocations: 75.38 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2916, allocations: 53.7 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2917, allocations: 334.8 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2919, allocations: 107.9 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2921, allocations: 179 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.2926, allocations: 300.6 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2926, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000771/0.2933, allocations: 413.9 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2934, allocations: 8 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2934, allocations: 3.984 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.2938, allocations: 101 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.294, allocations: 55.91 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.2961, allocations: 1.768 MB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.2963, allocations: 19.95 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2963, allocations: 12 kB / 1.297 GB, free: 13.14 MB / 0.9981 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.0001599/0.2965, allocations: 157.2 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2965, allocations: 15.91 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.297, allocations: 299.4 kB / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.297, allocations: 4 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.297, allocations: 4.125 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.297, allocations: 7.922 kB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/0.298, allocations: 0.6512 MB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.298, allocations: 4 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2983, allocations: 51.95 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.2983, allocations: 7.938 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2983, allocations: 4.062 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2983, allocations: 11.94 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2983, allocations: 0 / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.299, allocations: 0.511 MB / 1.299 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2991, allocations: 43.84 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2992, allocations: 8 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2993, allocations: 7.984 kB / 1.299 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.2994, allocations: 15.97 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2994, allocations: 8 kB / 1.299 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001494/0.2995, allocations: 140.1 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2995, allocations: 4 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003593/0.2999, allocations: 72 kB / 1.299 GB, free: 11.04 MB / 0.9981 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.001013/0.3009, allocations: 1.064 MB / 1.3 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007766/0.3017, allocations: 394.4 kB / 1.3 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3017, allocations: 448 / 1.3 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3019, allocations: 119.8 kB / 1.3 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3022, allocations: 41.22 kB / 1.301 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.3064, allocations: 2.898 MB / 1.303 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.3066, allocations: 165.2 kB / 1.304 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.3067, allocations: 57.91 kB / 1.304 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3069, allocations: 67.42 kB / 1.304 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3069, allocations: 3.938 kB / 1.304 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.3424, allocations: 5.703 MB / 1.309 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.83, allocations: 12.36 kB / 1.309 GB, free: 0.5195 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.36578106926754]