Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001813/0.001813, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002168/0.002168, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",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.001947/0.001947, allocations: 63.16 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006815/0.3177, allocations: 5.006 MB / 1.332 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004394/0.3221, allocations: 2.572 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.3226, allocations: 35.62 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.3238, allocations: 414 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.3249, allocations: 477.6 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.3258, allocations: 376.7 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3269, allocations: 0.9178 MB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.3274, allocations: 322.6 kB / 1.337 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.3279, allocations: 354.7 kB / 1.337 GB, free: 7.484 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.3284, allocations: 370.4 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.3285, allocations: 36 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007012/0.3292, allocations: 407.1 kB / 1.338 GB, free: 6.688 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.3294, allocations: 191.3 kB / 1.338 GB, free: 6.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.3297, allocations: 314.3 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3307, allocations: 0.887 MB / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3307, allocations: 0 / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3307, allocations: 0 / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.3307, allocations: 4 kB / 1.339 GB, free: 5.297 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001613/0.3323, allocations: 0.8896 MB / 1.34 GB, free: 4.371 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3324, allocations: 12.03 kB / 1.34 GB, free: 4.359 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.986e-05/0.3324, allocations: 13.19 kB / 1.34 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.913e-05/0.3325, allocations: 98.67 kB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3337, allocations: 200.3 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.3345, allocations: 480.8 kB / 1.341 GB, free: 3.559 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3345, allocations: 29.38 kB / 1.341 GB, free: 3.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.3346, allocations: 52.31 kB / 1.341 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3357, allocations: 0.8481 MB / 1.342 GB, free: 2.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.3358, allocations: 7.938 kB / 1.342 GB, free: 2.488 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.3358, allocations: 27.98 kB / 1.342 GB, free: 2.461 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.212e-05/0.3359, allocations: 68.89 kB / 1.342 GB, free: 2.395 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.3368, allocations: 0.5617 MB / 1.342 GB, free: 1.832 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.3414, allocations: 5.582 MB / 1.348 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.3421, allocations: 418.8 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3424, allocations: 212.6 kB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3424, allocations: 4 kB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3424, allocations: 34.56 kB / 1.348 GB, free: 11.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.3424, allocations: 0 / 1.348 GB, free: 11.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002422/0.3449, allocations: 1.14 MB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3449, allocations: 55.69 kB / 1.349 GB, free: 9.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.3454, allocations: 0.4911 MB / 1.35 GB, free: 9.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3455, allocations: 29.7 kB / 1.35 GB, free: 9.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3457, allocations: 363.8 kB / 1.35 GB, free: 9.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3458, allocations: 115 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.346, allocations: 118.2 kB / 1.35 GB, free: 8.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3461, allocations: 374.7 kB / 1.351 GB, free: 8.461 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3464, allocations: 189.2 kB / 1.351 GB, free: 8.273 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.3469, allocations: 455.3 kB / 1.351 GB, free: 7.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.3478, allocations: 0.6915 MB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3478, allocations: 4 kB / 1.352 GB, free: 6.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001316/0.3491, allocations: 0.7974 MB / 1.353 GB, free: 6.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3491, allocations: 8.969 kB / 1.353 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3491, allocations: 11.94 kB / 1.353 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.3496, allocations: 160.1 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.3501, allocations: 119.8 kB / 1.353 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.3535, allocations: 4.05 MB / 1.357 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3539, allocations: 31.97 kB / 1.357 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3539, allocations: 28 kB / 1.357 GB, free: 1.32 MB / 1.045 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.0002775/0.3542, allocations: 221.5 kB / 1.357 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.3543, allocations: 63.62 kB / 1.357 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3554, allocations: 0.601 MB / 1.358 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3554, allocations: 0 / 1.358 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3554, allocations: 4 kB / 1.358 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3554, allocations: 0 / 1.358 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3573, allocations: 1.234 MB / 1.359 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3573, allocations: 7.922 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3575, allocations: 59.89 kB / 1.359 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.358, allocations: 140.3 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.358, allocations: 8 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/0.3615, allocations: 4.037 MB / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3615, allocations: 0 / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3626, allocations: 0.7119 MB / 1.364 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.3628, allocations: 87.58 kB / 1.364 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.3629, allocations: 8 kB / 1.364 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3631, allocations: 23.97 kB / 1.364 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.3632, allocations: 39.88 kB / 1.364 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3632, allocations: 8 kB / 1.364 GB, free: 9.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003987/0.3636, allocations: 338.8 kB / 1.365 GB, free: 9.215 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 3.938 kB / 1.365 GB, free: 9.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006366/0.3643, allocations: 140 kB / 1.365 GB, free: 9.074 MB / 1.061 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.001402/0.3657, allocations: 1.25 MB / 1.366 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.3672, allocations: 0.8588 MB / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3672, allocations: 0 / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.368, allocations: 0.5878 MB / 1.367 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/0.369, allocations: 198.6 kB / 1.368 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.376, allocations: 5.124 MB / 1.373 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.3766, allocations: 0.9019 MB / 1.373 GB, free: 15.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.377, allocations: 121.3 kB / 1.374 GB, free: 15.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.3773, allocations: 187.4 kB / 1.374 GB, free: 15.29 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/0.3773, allocations: 0 / 1.374 GB, free: 15.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.4237, allocations: 13.25 MB / 1.387 GB, free: 2.324 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.41, allocations: 0 / 1.387 GB, free: 2.324 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 19.247556510963477]