Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001333/0.001333, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001494/0.001494, allocations: 219.9 kB / 22.26 MB, free: 5.125 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.953 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.708/2.708, allocations: 476.7 MB / 0.7707 GB, free: 4.25 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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001994/0.001994, allocations: 70.09 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007025/0.3041, allocations: 4.443 MB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.3086, allocations: 2.482 MB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.3091, allocations: 23.75 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.3104, allocations: 390.1 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.3114, allocations: 394.1 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.3123, allocations: 323.2 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3134, allocations: 0.6869 MB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.3139, allocations: 230.7 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.3145, allocations: 263.1 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.315, allocations: 286.8 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.3151, allocations: 32 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.316, allocations: 439 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.3162, allocations: 151.5 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.3165, allocations: 238.7 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.3178, allocations: 0.7315 MB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3178, allocations: 4 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3178, allocations: 0 / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.3178, allocations: 0 / 1.294 GB, free: 0.5352 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001429/0.3192, allocations: 0.7265 MB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3193, allocations: 15.97 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.692e-05/0.3194, allocations: 74.72 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.3208, allocations: 188.4 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.3215, allocations: 373.5 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3216, allocations: 29.36 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.3216, allocations: 36.36 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.3226, allocations: 0.6554 MB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3226, allocations: 3.938 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.3226, allocations: 19.98 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-05/0.3227, allocations: 55.89 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.3235, allocations: 499.3 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.3273, allocations: 3.748 MB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.329, allocations: 0.609 MB / 1.301 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.3293, allocations: 166.5 kB / 1.301 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3293, allocations: 8 kB / 1.301 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3294, allocations: 34.5 kB / 1.301 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.3294, allocations: 4 kB / 1.301 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002377/0.3318, allocations: 1.061 MB / 1.302 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.3318, allocations: 106.8 kB / 1.302 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.3323, allocations: 405.8 kB / 1.303 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3323, allocations: 37.64 kB / 1.303 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.3326, allocations: 280.2 kB / 1.303 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3327, allocations: 126.9 kB / 1.303 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3328, allocations: 98.3 kB / 1.303 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.333, allocations: 358.8 kB / 1.304 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.3333, allocations: 169.2 kB / 1.304 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.3337, allocations: 376.7 kB / 1.304 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000781/0.3345, allocations: 0.5987 MB / 1.305 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3345, allocations: 0 / 1.305 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001195/0.3357, allocations: 0.6795 MB / 1.305 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3357, allocations: 8.125 kB / 1.305 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3357, allocations: 12 kB / 1.305 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.3361, allocations: 102.4 kB / 1.305 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.3365, allocations: 107.8 kB / 1.306 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.3403, allocations: 4.045 MB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3407, allocations: 32.12 kB / 1.31 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.3407, allocations: 24 kB / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0003173/0.341, allocations: 202.4 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.3412, allocations: 51.7 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.3422, allocations: 0.5108 MB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3422, allocations: 8 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3422, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.3422, allocations: 7.969 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.3442, allocations: 1.255 MB / 1.312 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3442, allocations: 4 kB / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3445, allocations: 63.89 kB / 1.312 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.3448, allocations: 90.78 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.3448, allocations: 8 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.3485, allocations: 4.033 MB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3485, allocations: 4 kB / 1.316 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.3496, allocations: 0.776 MB / 1.316 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.3498, allocations: 83.62 kB / 1.317 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.3499, allocations: 16 kB / 1.317 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.3502, allocations: 23.91 kB / 1.317 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.3503, allocations: 39.83 kB / 1.317 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3503, allocations: 12 kB / 1.317 GB, free: 7.949 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003432/0.3507, allocations: 279.1 kB / 1.317 GB, free: 7.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3507, allocations: 0 / 1.317 GB, free: 7.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007305/0.3514, allocations: 120 kB / 1.317 GB, free: 7.562 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001337/0.3527, allocations: 1.331 MB / 1.318 GB, free: 6.164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.3541, allocations: 0.7668 MB / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3541, allocations: 1 kB / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/0.3548, allocations: 0.5431 MB / 1.32 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.3558, allocations: 140.6 kB / 1.32 GB, free: 4.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.3622, allocations: 4.553 MB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.3628, allocations: 0.8625 MB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.3631, allocations: 112.5 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.3633, allocations: 155.4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/0.3633, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06933/0.4327, allocations: 10.48 MB / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.38, allocations: 9.812 kB / 1.335 GB, free: 4.332 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 18.70001819706522]