Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0007612/0.0007612, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007498/0.0007498, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8348/0.8348, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.692/1.692, allocations: 389.1 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.558e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003856/0.003871, allocations: 4.603 MB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.006213, allocations: 2.42 MB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.006425, allocations: 35.62 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.00712, allocations: 409.8 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.007766, allocations: 485.1 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.008219, allocations: 402.1 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.008823, allocations: 0.9563 MB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.00917, allocations: 330.4 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.009581, allocations: 490.7 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.00986, allocations: 307.1 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.0099, allocations: 40 kB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.01023, allocations: 370.9 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.01035, allocations: 191.3 kB / 1.01 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01048, allocations: 215.4 kB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.01112, allocations: 0.9033 MB / 1.011 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01112, allocations: 0 / 1.011 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01112, allocations: 0 / 1.011 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.01113, allocations: 3.984 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009036/0.01203, allocations: 0.8917 MB / 1.012 GB, free: 472 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.01207, allocations: 8.75 kB / 1.012 GB, free: 464 kB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.01214, allocations: 94.69 kB / 1.012 GB, free: 360 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.0128, allocations: 208.3 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.01332, allocations: 499.9 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.01334, allocations: 33.36 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.01339, allocations: 44.38 kB / 1.013 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007704/0.01416, allocations: 0.9664 MB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.01418, allocations: 8.125 kB / 1.014 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.01422, allocations: 32.09 kB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.857e-05/0.01427, allocations: 68.95 kB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.01481, allocations: 0.5656 MB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.01719, allocations: 4.701 MB / 1.019 GB, free: 8.863 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.0176, allocations: 422.2 kB / 1.02 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.01778, allocations: 201.3 kB / 1.02 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.0178, allocations: 7.984 kB / 1.02 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.01782, allocations: 34.56 kB / 1.02 GB, free: 8.191 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.01782, allocations: 3.938 kB / 1.02 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001464/0.01928, allocations: 1.125 MB / 1.021 GB, free: 7.039 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.01931, allocations: 63.61 kB / 1.021 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.01965, allocations: 0.5144 MB / 1.022 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01967, allocations: 37.64 kB / 1.022 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.01983, allocations: 367.8 kB / 1.022 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.01989, allocations: 130.9 kB / 1.022 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.01999, allocations: 110.2 kB / 1.022 GB, free: 5.789 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.02009, allocations: 366.8 kB / 1.023 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.02027, allocations: 197.2 kB / 1.023 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.02055, allocations: 447.3 kB / 1.023 GB, free: 4.676 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.02107, allocations: 0.6848 MB / 1.024 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02107, allocations: 4 kB / 1.024 GB, free: 3.871 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007472/0.02182, allocations: 0.8099 MB / 1.025 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.02183, allocations: 15.98 kB / 1.025 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.02184, allocations: 8 kB / 1.025 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.02211, allocations: 140.2 kB / 1.025 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.02236, allocations: 127.7 kB / 1.025 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.02432, allocations: 4.047 MB / 1.029 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.0245, allocations: 31.97 kB / 1.029 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.02453, allocations: 28 kB / 1.029 GB, free: 14.29 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.02468, allocations: 214.1 kB / 1.029 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.02473, allocations: 67.72 kB / 1.029 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.02533, allocations: 0.6008 MB / 1.03 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02533, allocations: 4 kB / 1.03 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.02533, allocations: 0 / 1.03 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.02534, allocations: 7.984 kB / 1.03 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.02637, allocations: 1.182 MB / 1.031 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02638, allocations: 0 / 1.031 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.0265, allocations: 60.11 kB / 1.031 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.02671, allocations: 136.2 kB / 1.031 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.02673, allocations: 8 kB / 1.031 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.02856, allocations: 4.01 MB / 1.035 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02856, allocations: 384 / 1.035 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.02913, allocations: 0.7161 MB / 1.036 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.02925, allocations: 95.58 kB / 1.036 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.02928, allocations: 11.98 kB / 1.036 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.02941, allocations: 23.97 kB / 1.036 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.02945, allocations: 31.89 kB / 1.036 GB, free: 6.598 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.02946, allocations: 12 kB / 1.036 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002135/0.02967, allocations: 342.8 kB / 1.036 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.02968, allocations: 0 / 1.036 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003644/0.03004, allocations: 140 kB / 1.036 GB, free: 6.117 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007904/0.03083, allocations: 1.262 MB / 1.038 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.0316, allocations: 0.8513 MB / 1.039 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03161, allocations: 3.938 kB / 1.039 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.03199, allocations: 0.5759 MB / 1.039 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.03255, allocations: 207.3 kB / 1.039 GB, free: 3.078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.03651, allocations: 5.142 MB / 1.044 GB, free: 13.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.03669, allocations: 316.1 kB / 1.045 GB, free: 13.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.03688, allocations: 117.3 kB / 1.045 GB, free: 13.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.03705, allocations: 196.4 kB / 1.045 GB, free: 12.89 MB / 1.01 GB Notification: Performance of SimCode: time 5.11e-07/0.03705, allocations: 0 / 1.045 GB, free: 12.89 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3815/0.4186, allocations: 14.38 MB / 1.059 GB, free: 95.29 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.311, allocations: 13.09 kB / 1.059 GB, free: 95.29 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 11.129912024363875]